3
我需要在字符串生成器中追加字节00000000的字节。 我需要把它放到字符串数组中,然后再读一遍。 例如:什么是等于00000000字节的字符?
StringBuilder sBfNumRow = new StringBuilder();
sBfNumRow.append(""); //add char that 00000000 in byte
stObj [c] = sBfNumRow.toString(); // put into String array
stObj [c] .getBytes // read it again later.
有人可以帮我做到这一点吗?
你的意思是\ 0? –
使用sBfNumRow.append('\ u0000'); –
00000000字节 –