Xavier Bouchoux 67b3e07260 zlib: naming convention
Adress review comments from https://github.com/ziglang/zig/pull/13977
by using the same naming convention as zstd.

And by using `finish()` instead of `close()` for the finalisation of the compressed stream.
rationale:
  - it is not the same as how close() is usually used, since it must be called to flush and write the final bytes. And as such it may fail.
  - it is not the same `flush` in the deflate code, which allows to keep writting more bytes later, and doesn't write the final checksum.
  - it is the same name as used in the original zlib library (Z_FINISH)

Also, use a packed struct for the header, which seems a better fit.
2023-06-17 14:08:05 -07:00
..
2023-06-15 14:48:20 -04:00
2023-06-17 14:08:05 -07:00
2023-06-17 12:06:40 -07:00
2023-06-17 14:08:05 -07:00
2022-12-13 13:14:20 +02:00
2023-04-30 18:16:04 -07:00
2023-04-22 13:09:15 +03:00
2023-05-23 17:55:59 -07:00
2023-06-15 14:48:19 -04:00
2023-06-10 20:42:30 -07:00
2023-04-30 18:16:04 -07:00
2023-04-30 18:16:04 -07:00
2023-04-30 18:16:04 -07:00
2023-04-23 21:06:21 +03:00
2023-03-17 17:50:25 +01:00
2023-04-30 18:16:04 -07:00
2022-04-15 17:01:01 -05:00