presto-orc/src/main/java/io/prestosql/orc/metadata/MetadataWriter.java/MetadataWriter/writeMetadata
class MetadataWriter:    int writeMetadata(SliceOutput output, Metadata metadata)
            throws IOException;