17,082
社区成员
发帖
与我相关
我的任务
分享
String content = null;
try {
if(image != null){
InputStream is = image.getBinaryStream();
byte[] b = new byte[is.available()];
is.read(b, 0, b.length);
content = new String(b);
}
System.out.println(content);
} catch ( IOException e) {
e.printStackTrace();
}