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