private int getFullRecordLength(int index) {
		if (index == 0) {
			return buffer.length() - getRecordKeyOffset(0);
		}
		return getRecordKeyOffset(index - 1) - getRecordKeyOffset(index);
	}
Get the length of a stored record with key.
@param index key index associated with record.
Ghidra/Framework/DB/src/main/java/db/VarKeyRecordNode.java