mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 12:40:15 +01:00
extmod/moddeflate: Add deflate module providing the DeflateIO class.
This provides similar functionality to the former zlib.DecompIO and especially CPython's gzip.GzipFile for both compression and decompression. This class can be used directly, and also can be used from Python to implement (via io.BytesIO) zlib.decompress and zlib.compress, as well as gzip.GzipFile. Enable/disable this on all ports/boards that zlib was previously configured for. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
e6c290c3d1
commit
3533924c36
@@ -53,12 +53,13 @@ port
|
||||
builtins micropython _asyncio _thread
|
||||
array binascii btree cexample
|
||||
cmath collections cppexample cryptolib
|
||||
errno example_package ffi
|
||||
framebuf gc hashlib heapq
|
||||
io json machine math
|
||||
os random re select
|
||||
socket ssl struct sys
|
||||
termios time uctypes websocket
|
||||
deflate errno example_package
|
||||
ffi framebuf gc hashlib
|
||||
heapq io json machine
|
||||
math os random re
|
||||
select socket ssl struct
|
||||
sys termios time uctypes
|
||||
websocket
|
||||
me
|
||||
|
||||
micropython machine math
|
||||
|
||||
Reference in New Issue
Block a user