how to display array of hex bytes into control and translate to ascii
Posted: Tue Sep 29, 2020 2:02 pm
Hello that's my first topic on wx forums .
I want to print this buffer into any control like the picture .
and translate that buffer to ASCII code .
please provide any full example to study ,, because I am still beginner in wx world ;D
all I want
(a Control with hex buffer and other with the translation same as Attachment image .. )
please if your going to help me provide the same buffer as here :-
you can translate these row bytes to ascii from any webiste ..
40 00 83 08 08 80 FE FF 07 10 D0 0F 18 00 20 EE 0C 30 00 38 00 40 01 48 00 50 E8 07 5A 00 72 06 53 59 53 54 45 4D 72 06 6D 65 64 6F 5F 6F 72 00 72 0E 31 30 30 30 30 30 30 5F 31 30 31 30 40 40
I want to print this buffer into any control like the picture .
and translate that buffer to ASCII code .
please provide any full example to study ,, because I am still beginner in wx world ;D
all I want
(a Control with hex buffer and other with the translation same as Attachment image .. )
please if your going to help me provide the same buffer as here :-
Code: Select all
int* mybuffer[]={0x40,0x00,0x83,0x08,0x08,0x80,0xFE,0xFF,0x07,0x10,0xD0,0x0F,0x18,0x00,0x20,0xEE,0x0C,0x30,0x00,0x38,0x00,0x40,0x01,0x48,0x00,0x50,0xE8,0x07,0x5A,0x00,0x72,0x06,0x53,0x59,0x53,0x54,0x45,0x4D,0x72,0x06,0x6D,0x65,0x64,0x6F,0x5F,0x6F,0x72,0x00,0x72,0x0E,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x5F,0x31,0x30,0x31,0x30,0x40,0x40}
40 00 83 08 08 80 FE FF 07 10 D0 0F 18 00 20 EE 0C 30 00 38 00 40 01 48 00 50 E8 07 5A 00 72 06 53 59 53 54 45 4D 72 06 6D 65 64 6F 5F 6F 72 00 72 0E 31 30 30 30 30 30 30 5F 31 30 31 30 40 40