presto-spi/src/main/java/io/prestosql/spi/type/VarbinaryType.java/VarbinaryType/appendTo
class VarbinaryType:    @Override
    public void appendTo(Block block, int position, BlockBuilder blockBuilder)
    {
        if (block.isNull(position)) {
            blockBuilder.appendNull();
        }
        else {
            block.writeBytesTo(position, 0, block.getSliceLength(position), blockBuilder);
            blockBuilder.closeEntry();
        }
    }