micropython/lib
Jim Mussared 32db4c58f7 extmod/moddeflate: Change default window size.
The primary purpose of this commit is to make decompress default to
wbits=15 when the format is gzip (or auto format with gzip detected). The
idea is that someone decompressing a gzip stream should be able to use the
default `deflate.DeflateIO(f)` and it will "just work" for any input
stream, even though it uses a lot of memory.

This is done by making uzlib report gzip files as having wbits set to 15
in their header (where it previously only set the wbits out parameter for
zlib files), and then fixing up the logic in `deflateio_init_read`.

Updates the documentation to match.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-09-01 12:23:37 +10:00
..
asf4@84f56af132
axtls@531cab9c27
berkeley-db-1.xx@35aaec4418
btstack@77e752abd6
cmsis/inc
crypto-algorithms
cyw43-driver@8ef38a6d32
fsp@e78939d32d
libffi@e9de7e35f2
libhydrogen@5c5d513093
libm
libm_dbl
littlefs
lwip@6ca936f6b5
mbedtls@981743de6f
mbedtls_errors
micropython-lib@c113611765
mynewt-nimble@42849560ba
nrfx@7a4c9d946c
nxp_driver@fa5a554c79
oofatfs
pico-sdk@6a7db34ff6
re1.5
stm32lib@928df866e4
tinytest
tinyusb@868f2bcda0
uzlib extmod/moddeflate: Change default window size. 2023-09-01 12:23:37 +10:00
wiznet5k@0803fc519a
README.md

README.md

This directory contains third-party, low-level C libraries and SDKs. Libraries that do not target any specific platform are generally chosen based on them being independent and efficient.