Expand description
Outer wire framing for groupcompress blocks.
The over-the-wire form prepends a small text header with one record per
contained factory, then the inner [GroupCompressBlock] payload. This
module parses just the header so the manager-side Python wrapper can keep
orchestrating the block construction itself.
See bzrformats.groupcompress._LazyGroupContentManager.from_bytes for the
Python original.
Structs§
- Wire
Factory - One factory record described by the wire header.
- Wire
Frame - Parsed result of the outer wire frame: the factory records plus the byte
range of the inner
GroupCompressBlockpayload within the input slice.
Enums§
Functions§
- build_
header_ lines - Build the per-factory header bytes consumed by the wire format.
- build_
wire_ prefix - Build the framing prefix for the wire format: the storage-kind line, the three length lines, and the zlib-compressed header bytes.
- parse_
wire - Parse the outer wire framing of a groupcompress block.