hi,
How to convert byte array to ASCII in VB.NET
System.Text.Encoding.ASCII.Getstring
it gives the data like 52414D41 .
but i need "RAMA" instead of 52414D41.
How? Any help?
Thank U!
Dim b AsByte Dim s AsString = "" For inttemp AsInteger = 0 To strhex.Length - 2 Step 2
b = System.Convert.ToByte(strhex.Substring(inttemp, 2), 16)
s &= Chr(b) Next Return s.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.