Skip to content
ZLIB × LEAN / ALGORITHM DETAIL & VERIFICATION

Application interfaces and external interaction

Choose suitable calls for whole buffers, callbacks, and gzip files.

THE JOB OF THIS COMPONENT

An application supplies input, receives output, and handles results. Buffers, callbacks, and file interfaces offer different ways to use the same compression and decoding engines.

Locate this topic on the global map ↗

The first 3 chapters explain algorithms, data layouts, and optimizations. The final chapter connects the proof argument. Read in order or enter from a familiar stage.

  1. 01
    IMPLEMENTATION DETAIL

    Buffer interfaces and library information

    Use a convenience call to compress or decode a complete input buffer.

    ↗
  2. 02
    IMPLEMENTATION DETAIL

    Callback decoding and inverted control

    Delegate input and output to callbacks and understand ordering and buffer responsibilities.

    ↗
  3. 03
    IMPLEMENTATION DETAIL

    Gzip files and buffered I/O

    Use gzip file operations and understand detection, members, and logical positions.

    ↗
  4. 04
    PROOF ARGUMENT

    The application-interface proof

    Explain how interface wrappers inherit engine guarantees and constrain external interaction.

    ↗
ZLIB × LEAN

Global contents

READING NOWApplication interfaces and external interaction