presto-spi/src/main/java/io/prestosql/spi/block/ShortArrayBlock.java/ShortArrayBlock/writePositionTo
class ShortArrayBlock:    @Override
    public void writePositionTo(int position, BlockBuilder blockBuilder)
    {
        checkReadablePosition(position);
        blockBuilder.writeShort(values[position + arrayOffset]);
        blockBuilder.closeEntry();
    }