pub fn finish(c: *Compress) Writer.Error!void
pub 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); }