Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
5.00/5 (1 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

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900