io输出流变为输入流

java 输出流转化为输入流
new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
原文地址:https://www.cnblogs.com/dzhou/p/10249622.html