@Override
    public boolean getBoolean(int ordinal) {
        assertIndexIsValid(ordinal);
        return Platform.getBoolean(baseObject, getFieldOffset(ordinal));
    }
Update this UnsafeRow to point to the underlying byte array.

@param buf         byte array to point to
@param sizeInBytes the number of bytes valid in the byte array
indexr-query-opt/src/main/java/io/indexr/query/row/UnsafeRow.java