Conversion of hexadecimal value to valid text

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have a Byte array that holds hexadecimal values (ASCII e.g. byte value is
hex 54 for the letter T).


Dim bytes() As Byte = New Byte(size) {}


..... get the bytes array


For index As Int32 = 0 To bytes.Length - 1

contents &= bytes(index).ToString("?????????????")

Next

Which method can I use to create a .Net string from the values of the byte
array?

Thanks in advance.
 
Hi

Did you have any concern with Amdrit's suggestion?
If so, please feel free to post here.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top