Skip to content

Compression with zlib diagrams ​

Compression with zlib

Start with how the application begins, then follow data between its folders. Open an operation to see its decisions, calls, failures and cleanup. Its explanation supplies the exact contract and linked dependencies.

This view includes 2 application source files. Package and interface boundaries show checked contracts; their runtime implementations are not expanded. The views describe the checked program, not desired requirements or a recorded execution.

Where execution begins ​

Startup ​

It prints text on roundTrip. If this work raises CompressionError as error, it prints error.message. If this work raises ConversionError, it prints "Invalid UTF-8". source

Data flow ​

100%
Mermaid source
flowchart TD
    n0["compression"]
    n1["Startup"]
    n1 -->|"roundTrip → Bytes"| n0

Package boundaries ​

compression package calls
100%
Mermaid source
flowchart LR
    n0["compression"]
    n1["@greenpandastudios/aug-zlib"]
    n0 -->|"compress(input) / decompress(input, maximumOutput) → Bytes"| n1

Follow the data ​

Each row opens the complete operations and call sites behind one pair of logical units. A grouped arrow records calls between those units; connected arrows need not belong to the same execution path.

FromToOperationsRead
compression@greenpandastudios/aug-zlib2Inputs, results and call sites
Startupcompression1Inputs, results and call sites

Data crossing these boundaries (3 contracts) ​

compression → @greenpandastudios/aug-zlib ​

2 operations, 2 sites

compress

Inputs: input: Bytes. Result: Bytes.

Caller or entryEvidence
roundTripCall site · Caller explanation

decompress

Inputs: input: Bytes, maximumOutput: int. Result: Bytes.

Caller or entryEvidence
roundTripCall site · Caller explanation

Startup → compression ​

1 operation, 1 site

roundTrip

No caller-supplied inputs. Result: Bytes.

Caller or entryEvidence
StartupCall site · Caller explanation

Open a module ​

ModuleRead
compression.augFlow and sequences · Explanation
main.augFlow and sequences · Explanation

These are static call boundaries, not a request trace. Interface implementations and foreign internals stop at their checked contracts. Dotted arrows defer a callback or browser action. Imports alone do not imply a call.

Last updated:

The world runs on language