This commit is contained in:
xiangwbs
2018-03-11 11:45:23 +08:00
parent fedc8dff23
commit 7a459eae94
@@ -292,7 +292,7 @@ public class QRCodeUtils {
* @return
* @throws IOException
*/
private InputStream bufferImage_to_InputStream(BufferedImage image) throws IOException {
private InputStream bufferImageToInputStream(BufferedImage image) throws IOException {
ByteArrayOutputStream os = new ByteArrayOutputStream();
ImageIO.write(image, _format, os);
return new ByteArrayInputStream(os.toByteArray());