Click here to Skip to main content
14,603,886 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi,

i want to convert the byte array value to string.

i have byte array string ie
\0\0\0\0Access Granted\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0

i need to get "AcessGranted" only.


help me in this issue.


bye
Naga
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

You could be trying out the Encoding.Convert method[^].
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100