oakmac / com.oakmac.iso8583

Parse ISO 8583 messages into Clojure maps and vice versa
Eclipse Public License 1.0
0 stars 1 forks source link

Test encoder functions on variable length fields #8

Closed jcd-treasury-prime closed 1 year ago

jcd-treasury-prime commented 1 year ago

We are just setting the width of the field based on the count of the unencoded data. If you pass in data that is not a string (or if the length of that string changes based on encoder-fn) the produced field length will be incorrect.