public String getDataRepresentation(ByteBlock block, BigInteger index, int numUnits)
			throws ByteBlockAccessException {

		int n;
		StringBuffer sb = new StringBuffer();

		System.out.println("representation: = " + block.getLocationRepresentation(index) +
			", index = " + index);
		for (n = 0; n < numUnits; n++, index = index.add(BigInteger.ONE)) {
			String str = getDataRepresentation(block, index);

			sb.append(str);

		}

		return new String(sb);
	}
Gets the string representation for numUnits at the given
index in the block.
@param block block to change
@param index byte index into the block
@param numUnits number of units to get
@throws ByteBlockAccessException if the block cannot be read
@throws IndexOutOfBoundsException if index is not valid for the
block
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/HexFormatModel.java