presto-spi/src/main/java/io/prestosql/spi/block/ByteArrayBlock.java/ByteArrayBlock/getSingleValueBlock
class ByteArrayBlock:    @Override
    public Block getSingleValueBlock(int position)
    {
        checkReadablePosition(position);
        return new ByteArrayBlock(
                0,
                1,
                isNull(position) ? new boolean[] {true} : null,
                new byte[] {values[position + arrayOffset]});
    }