Closed mfdeveloper508 closed 1 year ago
This LGTM but I'd like @alovak to review it when he's back.
Hey, @alovak can you take a look at this?
Sorry for the delay. I hope to review and merge it this/next week @mfdeveloper508 @wadearnold
Can we get this merged @alovak ?
The main issue with this implementation is that we should manually set the bitmap size, while in some cases we may not know it. The current implementation automatically reads the next bitmap if the first bit of the current bitmap is set and the solution suggested in the PR breaks this feature.
We should not do/have things like bitmap.SetMapSize(2)
here as we don't actually know the length of the bitmap. The bitmap should automatically read two bitmaps.
The alternative version is here: https://github.com/moov-io/iso8583/pull/211