@Override
	public String getLocationRepresentation(BigInteger bigIndex) {
		int index = bigIndex.intValue();
		if (index < buf.length) {
			return pad(Integer.toString(index), 8);
		}
		return null;
	}
ByteBlock for a byte buffer read from a file.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/FileByteBlock.java