presto-spi/src/main/java/io/prestosql/spi/block/AbstractVariableWidthBlock.java/AbstractVariableWidthBlock/bytesEqual
class AbstractVariableWidthBlock:    @Override
    public boolean bytesEqual(int position, int offset, Slice otherSlice, int otherOffset, int length)
    {
        checkReadablePosition(position);
        return getRawSlice(position).equals(getPositionOffset(position) + offset, length, otherSlice, otherOffset, length);
    }