byte[]和InputStream的相互轉換

轉自:http://javapub.iteye.com/blog/665696 byte[]和InputStream的相互轉換 博客分類:  JavaIO   1:byte[]轉換爲InputStream  InputStream sbs = new ByteArrayInputStream(byte[] buf);  2:InputStream轉換爲InputStreambyte[]  Byte
相關文章
相關標籤/搜索