presto-rcfile/src/main/java/io/prestosql/rcfile/binary/BooleanEncoding.java/BooleanEncoding/encodeValueInto
class BooleanEncoding:    @Override
    public void encodeValueInto(Block block, int position, SliceOutput output)
    {
        output.writeBoolean(type.getBoolean(block, position));
    }