@Override
	protected byte toByteValue() {
		// If we're dirty (user input has been made) then we compute the byte value bases on the ascii char value.
		if (dirty != null && dirty.get()) {
			String text = textProperty.get();
			if (text.isEmpty()) return 0;
			return text.getBytes(StandardCharsets.US_ASCII)[0];
		}

		// Delegate to existing value since there is no change.
		return ops.currentAccess().getByte(offset());
	}
Hex cell for displaying a single ascii char.

@author Matt Coley
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/hex/cell/EditableAsciiCell.java