DemoStream
Iterates over the outer .dem container format, handling tick-delimited messages and Snappy decompression.
See also: How Proto Parsing Works
Generated API
gem.binary.stream.DemoStream
DemoStream
python
class DemoStreamIterate outer demo-message frames from a Source 2 .dem source.
Source: src/gem/binary/stream.py:46
Methods
close
Signature: def DemoStream.close(self) -> None
Release memory-map and file descriptor resources, if any.
Source: src/gem/binary/stream.py:80
gem.binary.stream.OuterMessage
OuterMessage
python
class OuterMessageA single top-level demo message frame.
Source: src/gem/binary/stream.py:31
Dataclass fields
| Name | Type | Default |
|---|---|---|
tick | int | - |
msg_type | int | - |
data | bytes | - |