presto-orc/src/main/java/io/prestosql/orc/metadata/CompressedMetadataWriter.java/CompressedMetadataWriter/writeStripeFooter
class CompressedMetadataWriter:    public Slice writeStripeFooter(StripeFooter footer)
            throws IOException
    {
        metadataWriter.writeStripeFooter(buffer, footer);
        return getSliceOutput();
    }