byte[]和InputStream的相互转换

转自:http://javapub.iteye.com/blog/665696 byte[]和InputStream的相互转换 博客分类:  JavaIO   1:byte[]转换为InputStream  InputStream sbs = new ByteArrayInputStream(byte[] buf);  2:InputStream转换为InputStreambyte[]  Byte
相关文章
相关标签/搜索