本文介绍了字节数组到字符串的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想将字节数组值转换为字符串.

我有字节数组字符串,即
\ 0 \ 0 \ 0 \ 0授予访问权限\ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0 \ 0

我只需要获取"AcessGranted"即可.


帮助我解决这个问题.


再见
Naga

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

推荐答案


这篇关于字节数组到字符串的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 15:50
查看更多