Byte conversion problems

lscott

Member
Licensed User
Longtime User
I am trying to use agraham byte converter V1.10 charsfrombyte.
I can get my program to compile and run but when I get to the line of code were I use the converter (msg2 = bc.CharsFromBytes(buffer) , I have a break point set there and step through it the message I see when I place my curser on msg2 is "XML was improperly Formatted.

Buffer comes from newdata
buffer = [0=2,1=6,2=0,3=8,4=1,5=1,6=-95,7=-55]

using HexFromBytes(buffer) i get "020600080101A1C9"
I am wanting to see the ASCII characters of these bytes and I realize some of them are not printable.

Any thoughts or ideals would be helpfull.
Thanks. ScottH
 
Top