presto-spi/src/main/java/io/prestosql/spi/type/VarcharType.java/VarcharType/getSlice
class VarcharType:    @Override
    public Slice getSlice(Block block, int position)
    {
        return block.getSlice(position, 0, block.getSliceLength(position));
    }