Package-level declarations
Types
Link copied to clipboard
object Inflate
Raw DEFLATE (RFC 1951) decompressor. This is a faithful pure-Kotlin port of Mark Adler's puff() as bundled in libtorrent (src/puff.cpp, "puff" v2.3). puff is the canonical, deliberately-simple reference implementation of inflate; it trades speed for being an unambiguous specification of the format. libtorrent ships it (instead of pulling in zlib) precisely so it can decode gzip'd HTTP tracker and scrape responses with no external dependency. That is also our situation in commonMain.
Link copied to clipboard
Error codes for DEFLATE / gzip inflation, a direct port of the numeric return values of libtorrent's puff() (src/puff.cpp) and the matching gzip_errors::error_code_enum (include/libtorrent/gzip.hpp).
Link copied to clipboard