Closed GoogleCodeExporter closed 8 years ago
I found the solution:
import binascii
bin_nip = binascii.b2a_hex(nip)
Original comment by cae...@gmail.com
on 23 Feb 2010 at 8:51
So I recommend like this in redefineBit():
if bitType == "B":
self.setBit(bit,binascii.b2a_hex(self.getBit(bit)))
I guess that "B" means binary
Original comment by cae...@gmail.com
on 23 Feb 2010 at 9:04
And of course, here:
def __setBitTypeB(self, bit, value):
value = "%s" % binascii.b2a_hex(value)
Original comment by cae...@gmail.com
on 23 Feb 2010 at 10:59
Hi,
This happened because ISO8583py work with ASCII data, not Binary.
We'll improve the library and deal with Binary Data, like you can see in TODO
file.
Thanks,
Original comment by igo...@gmail.com
on 11 May 2010 at 5:17
Original issue reported on code.google.com by
cae...@gmail.com
on 23 Feb 2010 at 7:35