摘要:
public void byteToImg(String bytes, String imagePath) throws IOException { byte[] buffer = Base64.decode(bytes); //接收网络中的要进过解码 File file = new File(SDPATH + imagePath); FileOutputStream fos = new FileOutputStream(file); fos.write(buffer); ... 阅读全文