@Override
		protected byte[] encode(OffsetSnap value) {
			// TODO: Can I avoid allocating one on every store?
			ByteBuffer buf = ByteBuffer.allocate(16);
			buf.putLong(value.offset);
			buf.putLong(value.snap ^ Long.MIN_VALUE);
			return buf.array();
		}
Codec for storing {@link OffsetSnap}s as {@link BinaryField}s.

<p>
Encodes the address space ID followed by the address then the snap.

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