@Override
	public byte[] getBytes(int index, int size) {
		if (index < 0 || index + size > length) {
			throw new IndexOutOfBoundsException();
		}
		byte[] results = new byte[size];
		System.arraycopy(bytes, index, results, 0, size);
		return results;
	}
Returns the address of the byte represented by the given index into this buffer.
@param index the index into the buffer to get its associated address
@return the Address for the given index
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/bytesequence/AddressableByteSequence.java