pub fn finish(c: *Compress) Writer.Error!void c: *Compress363
364
365
366
367
368
369pub fn finish(c: *Compress) Writer.Error!void {
defer c.writer = .failing;
try rebaseInner(&c.writer, 0, c.writer.buffer.len - flate.history_len, true, true);
try c.bit_writer.output.rebase(0, 1);
c.bit_writer.byteAlign();
try c.hasher.writeFooter(c.bit_writer.output);
}