ptwm_core
ptwm_core::container
Container writer and reader orchestration.
ptwm_core::container
Container writer and reader orchestration.
ptwm_core::container
crates/ptwm-core/src/container.rs:1mod containerContainer writer and reader orchestration.
ptwm_core::container::ChainRegistry
crates/ptwm-core/src/container.rs:36pub struct ChainRegistryIn-memory chain registry section.
Wire format:
```text
num_chains: u16
[chain_entry] × num_chains:
chain_id: u16
(chain::wire::write_chain payload: num_nodes, num_edges, num_terminals,
lens, nodes_bytes, edges_bytes, terminals_bytes)
```
ptwm_core::container::ContainerReader
crates/ptwm-core/src/container.rs:555pub struct ContainerReaderZero-copy reader for a `.ptwm` container backed by an in-memory byte slice.
ptwm_core::container::ContainerWriter
crates/ptwm-core/src/container.rs:109pub struct ContainerWriterStreaming writer for a `.ptwm` container.