Module osm.io.gzip_source

Internal bounded GZIP ByteSource adapter for XML consumers.

The adapter presents decoded bytes at absolute offsets so the existing dxml ForwardRange bridge can re-read earlier positions. Forward reads keep one decoder state and caller-owned Inflate workspace. A backward read restarts decoding from compressed offset zero instead of retaining the whole decoded document.

This module is package-internal. Public replication diagnostics are mapped by osm.replication.

Date

2026-11-08