InputStream中的方法:
public int read(byte[], int off, int len) throws IOException;
用途:读取InputStream数据并存到内存中字节数组b(即byte[] b)(读到的数据存放到字节数组中),从字节数组中的下标为off的位置开始存入数据,共存len个字节
OutputStream中的方法:
public void write(byte[], int off, int len) throws IOException
用途:把内存中的字节数组b(即byte[] b)中从位置off开始共len个字节存入到OutputStream