@Override
	int compareTo(DataBuffer buffer, int offset) {
		int len = buffer.getInt(offset);
		if (data == null) {
			if (len < 0) {
				return 0;
			}
			return -1;
		}
		else if (len < 0) {
			return 1;
		}

		return -buffer.unsignedCompareTo(data, offset + 4, len);
	}
Construct a binary data field with an initial value of data.
@param data initial value
@param immutable true if field value is immutable
Ghidra/Framework/DB/src/main/java/db/BinaryField.java