AddressRange getMappedRange() {
		Address endMappedAddress;
		try {
			endMappedAddress =
				byteMappingScheme.getMappedSourceAddress(mappedAddress, subBlockLength - 1);
		}
		catch (AddressOverflowException e) {
			// keep things happy
			endMappedAddress = mappedAddress.getAddressSpace().getMaxAddress();
		}
		return new AddressRangeImpl(mappedAddress, endMappedAddress);
	}
Class for handling byte mapped memory sub blocks
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/ByteMappedSubMemoryBlock.java