@Override
	int compareTo(DataBuffer buffer, int offset) throws IndexOutOfBoundsException {
		StringField f = new StringField();
		try {
			f.read(buffer, offset);
		}
		catch (IOException e) {
			throw new AssertException(e); // DataBuffer does not throw IOException
		}
		return compareTo(f);
	}
Construct a String field with an initial value of s.
@param str initial string value or null
@param immutable true if field value is immutable
Ghidra/Framework/DB/src/main/java/db/StringField.java