@Override
	public byte readByte(long index) throws IOException {
		assertValidIndex(index, false);
		return srcBytes[(int) index];
	}
Throws {@link IOException} if index is not a valid position in the buffer

@param index position in buffer to test
@param inclusiveMax allow buffer.length as index
@throws IOException if index is out of bounds
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/ByteArrayProvider.java