|
ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
|
SSH client-to-server resumable, context-takeover INFLATE - implementation. More...
Go to the source code of this file.
SSH client-to-server resumable, context-takeover INFLATE - implementation.
A canonical-Huffman DEFLATE decoder (RFC 1951), like the one-shot presentation/inflate but built to resume across packets: it reads the logical stream (carried tail bytes ++ this packet) bit by bit, decodes only complete blocks, and on running out of input rolls the in-progress block back to its boundary - so no mid-block state persists. Output goes to the caller buffer and into a persistent 32 KB circular window that satisfies back-references reaching into earlier packets.
Definition in file ssh_inflate.cpp.