- dst
- the byte array into which the data is read.
- offset
- the offset in dst at which to store the bytes.
- byteCount
- the number of bytes to read.
Type Reason Java.IO.IOException
Reads byteCount bytes from this stream and stores them in the byte array dst starting at offset. If byteCount is zero, then this method returns without reading any bytes. Otherwise, this method blocks until byteCount bytes have been read. If insufficient bytes are available, EOFException is thrown. If an I/O error occurs, IOException is thrown. When an exception is thrown, some bytes may have been consumed from the stream and written into the array.