@Override
	public int getRecordOffset(int index) throws IOException {
		if (hasIndirectStorage(index)) {
			return -buffer.getInt(getRecordDataOffset(index));
		}
		return getRecordDataOffset(index);
	}
Get the record located at the specified index.
@param schema record data schema
@param index key index
@return Record
Ghidra/Framework/DB/src/main/java/db/VarKeyRecordNode.java