public static UnsafeRow createFromByteArray(int numBytes, int numFields) {
        final UnsafeRow row = new UnsafeRow(numFields);
        row.pointTo(new byte[numBytes], numBytes);
        return row;
    }
Creates an empty UnsafeRow from a byte array with specified numBytes and numFields.
The returned row is invalid until we call copyFrom on it.
indexr-query-opt/src/main/java/io/indexr/query/row/UnsafeRow.java