- buffer
- Documentation for this section has not yet been entered.
- byteOffset
- Documentation for this section has not yet been entered.
- byteCount
- Documentation for this section has not yet been entered.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IndexOutOfBoundsException if byteOffset buffer.length. Java.IO.IOException if this file is closed or another I/O error occurs.
Reads up to byteCount bytes from the current position in this file and stores them in the byte array buffer starting at byteOffset. Blocks until at least one byte has been read, the end of the file is detected, or an exception is thrown. Returns the number of bytes actually read or -1 if the end of the stream has been reached. See also RandomAccessFile.ReadFully(Byte[]).