@Override
	public byte getByte(long offsetInMemBlock) throws IndexOutOfBoundsException, IOException {
		long offsetInSubBlock = offsetInMemBlock - subBlockOffset;
		return buf.getByte((int) offsetInSubBlock);
	}
Implementation of SubMemoryBlock for blocks that store bytes in their own private database
buffers
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/BufferSubMemoryBlock.java