private int getFreeSpace() {
		return (keyCount == 0 ? buffer.length() : getRecordDataOffset(keyCount - 1)) -
			(keyCount * ENTRY_SIZE) - RECORD_LEAF_HEADER_SIZE;
	}
@return unused free space within node
Ghidra/Framework/DB/src/main/java/db/VarRecNode.java