streaming_crypto/core_api/stream_v2/segmenting/mod.rs
1//! Wire segmenting for stream_v2.
2//!
3//! Responsibilities:
4//! - Define segment headers and records
5//! - Encode segments into a canonical byte layout
6//! - Decode segments with strict validation
7//!
8//! Non-responsibilities:
9//! - Cryptography
10//! - Compression
11//! - IO
12//! - Parallelism
13
14pub mod types;
15pub mod encode;
16pub mod decode;
17
18pub use types::{
19 SegmentHeader,
20};
21pub use encode::{
22 encode_segment,
23};
24pub use decode::{
25 decode_segment_header,
26 decode_segment,
27};