Le Philousophe
2f7c2149e5
COMMON: Remove useless inflateZlib function
...
To write on stream it's simpler to use wrapCompressedReadStream and
writeStream function.
2023-08-28 21:49:03 +02:00
Le Philousophe
5bdd9e6f50
ALL: Unify zlib and gzio API
...
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
Le Philousophe
be3eb09753
COMMON: Allow GZipReadStream to work on data in the middle of stream
2023-08-28 21:49:03 +02:00
Le Philousophe
b5e3173b10
COMMON: Fix inflateZlibHeaderless name
...
The function takes a stream beginning with zlib header unlike the name
suggests.
inflateInit expects to parse a zlib header.
2023-08-28 21:49:03 +02:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory
2022-12-01 11:53:02 +01:00