protected byte encode(RefType value) {
			return value == null ? Byte.MIN_VALUE : value.getValue();
		}
A codec for reference types

@param <OT> the type of the object whose field is encoded/decoded.
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/DBTraceUtils.java