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