@Override
	public String getDataRepresentation(ByteBlock block, BigInteger index)
			throws ByteBlockAccessException {

		byte b = block.getByte(index);
		String str = null;
		if (b < 0x20 || b == 0x7f) {
			str = ".";
		}
		else {
			char[] charArray = { (char) b };
			str = new String(charArray);
		}

		return (str);

	}
Gets the string representation at the given index in the block.
@param block block to change
@param index byte index into the block
@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/AsciiFormatModel.java