How to parse the bytes[]# Java - 爪哇娇娃
n*8
1 楼
String a="test string";
bytes[] bt=a.getBytes();
StringBuffer bsb=new StringBuffer();
bsb.append(bt);
question, is there any simple way to parse out byte[] stored in the bsb as a
string? or I have to get it byte by byte?
couldn't google out a good answer.
bytes[] bt=a.getBytes();
StringBuffer bsb=new StringBuffer();
bsb.append(bt);
question, is there any simple way to parse out byte[] stored in the bsb as a
string? or I have to get it byte by byte?
couldn't google out a good answer.