- buffer
- the array in which to store the bytes read.
- byteOffset
- Documentation for this section has not yet been entered.
- byteCount
- Documentation for this section has not yet been entered.
- offset
- the initial position in buffer to store the bytes read from this stream.
- count
- the maximum number of bytes to store in buffer.
Documentation for this section has not yet been entered.
Type Reason Java.IO.IOException if this stream is closed or another I/O error occurs.
Reads up to byteCount bytes from this stream and stores them in byte array buffer starting at offset byteOffset. Blocks while waiting for input. Returns the number of bytes read or -1 if the end of this stream has been reached.