@Override
    public boolean equals(Object other) {
        if (other instanceof UnsafeRow) {
            UnsafeRow o = (UnsafeRow) other;
            return (sizeInBytes == o.sizeInBytes) &&
                    ByteArrayMethods.arrayEquals(baseObject, baseOffset, o.baseObject, o.baseOffset,
                            sizeInBytes);
        }
        return false;
    }
Write this UnsafeRow's underlying bytes to the given OutputStream.

@param out         the stream to write to.
@param writeBuffer a byte array for buffering chunks of off-heap data while writing to the
                   output stream. If this row is backed by an on-heap byte array, then this
                   buffer will not be used and may be null.
indexr-query-opt/src/main/java/io/indexr/query/row/UnsafeRow.java