PTWM
ptwm_core

ptwm_core::container

Container writer and reader orchestration.

ptwm_core::container

Container writer and reader orchestration.

rsmod

ptwm_core::container

crates/ptwm-core/src/container.rs:1
mod container

Container writer and reader orchestration.

rstype

ptwm_core::container::ChainRegistry

crates/ptwm-core/src/container.rs:36
pub struct ChainRegistry

In-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) ```
rstype

ptwm_core::container::ContainerReader

crates/ptwm-core/src/container.rs:555
pub struct ContainerReader

Zero-copy reader for a `.ptwm` container backed by an in-memory byte slice.

rstype

ptwm_core::container::ContainerWriter

crates/ptwm-core/src/container.rs:109
pub struct ContainerWriter

Streaming writer for a `.ptwm` container.