B briant1972 Member Licensed User Longtime User Sep 2, 2011 #1 I'm wondering if anybody has any suggestions for converting a hex string to ascii. For example 4B3A hex would be A: in ascii. I've done it in VB .net but I'm new to Basic4Android and just trying to get started.
I'm wondering if anybody has any suggestions for converting a hex string to ascii. For example 4B3A hex would be A: in ascii. I've done it in VB .net but I'm new to Basic4Android and just trying to get started.
Djembefola Active Member Licensed User Longtime User Sep 2, 2011 #2 You can use agrahams byteconverter library. http://www.b4x.com/forum/additional-libraries-official-updates/6787-byteconverter-library.html#post39339 Upvote 0
You can use agrahams byteconverter library. http://www.b4x.com/forum/additional-libraries-official-updates/6787-byteconverter-library.html#post39339
B briant1972 Member Licensed User Longtime User Sep 5, 2011 #3 There might be a better way, but here's what I did to get it to convert a string of hex values to ASCII: ConvertedToByte = convert.HexToBytes(num) ConvertedToString = convert.StringFromBytes(ConvertedToByte,"ASCII") Thanks for the help. Upvote 0
There might be a better way, but here's what I did to get it to convert a string of hex values to ASCII: ConvertedToByte = convert.HexToBytes(num) ConvertedToString = convert.StringFromBytes(ConvertedToByte,"ASCII") Thanks for the help.