sabit / Oscar-ISO8583

Oscar Sanderson's C ISO8583 Library
49 stars 44 forks source link

Invalid hex dump. #8

Open athar-qadri opened 4 months ago

athar-qadri commented 4 months ago

I am getting invalid hex for MTI.

for example, if MTI is 1200, its hex representation is showing 12 00

athar-qadri commented 4 months ago

00000000h 12 00 d0 20 00 00 02 c0 00 00 00 00 00 00 00 00 ................ 00000010h 00 08 16 12 34 56 78 90 12 34 56 00 00 00 00 56 ....4Vx..4V....V 00000020h 99 00 02 34 00 04 31 32 33 34 35 20 20 20 36 37 ...4..12345...67 00000030h 38 39 30 31 32 33 34 20 20 20 20 20 20 00 09 42 8901234........B 00000040h 4c 41 48 20 42 4c 41 48 LAH.BLAH

--------------- ISO8583 MSG DUMP --------------- [000] 1200 [002] 1234567890123456 [004] 000000005699 [011] 000234 [039] 004 [041] 12345
[042] 678901234
[125] BLAH BLAH