public int read(byte[] b) throws IOException {
		checkOpen();
		return read(b, 0, b.length);
	}
Reads up to <code>b.length</code> bytes of data from this file
into an array of bytes. This method blocks until at least one byte
of input is available.

@param      b   the buffer into which the data is read.
@return     the total number of bytes read into the buffer, or
            <code>-1</code> if there is no more data because the end of
            this file has been reached.
@exception  IOException  if an I/O error occurs.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/GhidraRandomAccessFile.java