public void setRange(AddressRange range) {
		// Note that this will throw an exception if the range length is larger then Integer.MAX 
		// which is unsupported by the ByteSequence interface
		try {
			setRange(range.getMinAddress(), range.getBigLength().intValueExact());
		}
		catch (ArithmeticException e) {
			throw new IllegalArgumentException("Length exceeds capacity");
		}
	}
Sets the range of bytes that this object will buffer. This immediately will read the bytes
from the byte source into it's internal byte array buffer.
@param range the range of bytes to buffer
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/bytesequence/AddressableByteSequence.java