@Override
	public byte[] readBytes(long index, long length) throws IOException {
		byte[] b = new byte[(int) length];
		if (index > fileLength) {
			throw new EOFException(
				"Invalid file offset " + index + " while reading " + file.getName());
		}
		if (index + length > fileLength) {
			Msg.trace(this, "Read at EOF, can't return partial buffer, throwing IOException: " +
				file.getName());
			throw new EOFException("EOF: unable to read " + length + " bytes at " + index);
		}
		randomAccessFile.seek(index);
		int nRead = randomAccessFile.read(b);
		if (nRead != length) {
			throw new IOException("Unable to read " + length + " bytes");
		}
		return b;
	}
Sets the {@link FSRL} of this {@link ByteProvider}

@param fsrl the {@link FSRL} to assign to this byte provider
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/RandomAccessByteProvider.java