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