presto-spi/src/main/java/io/prestosql/spi/block/ColumnarArray.java/ColumnarArray/getOffset
class ColumnarArray:    public int getOffset(int position)
    {
        return (offsets[position + offsetsOffset] - offsets[offsetsOffset]);
    }