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