private void setBaseOffset(int offset) throws AddressOutOfBoundsException {
		this.address = memBuffer.getAddress().add(offset);

		this.baseOffset = offset;

		if (buffer.length > 0) {
			minOffset = 0;
			maxOffset = -1;

			maxOffset = memBuffer.getBytes(buffer, baseOffset) - 1;
		}
	}
Set new base offset relative to the associated MemBuffer's address
@param offset new base offset of this buffer
@throws AddressOutOfBoundsException
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/mem/WrappedMemBuffer.java