byte[]和InputStream的相互转换
1、byte[]转换为InputStreamInputStream sbs = new ByteArrayInputStream(byte[] buf);2、InputStream转换为InputStreambyte[]ByteArrayOutputStream swapStream = new ByteArrayOutputStream();byte[] buff = new byte[...