Skip to main content

substrate_data/wire/io/
mod.rs

1//! Messages over a byte stream — a socket, a pipe: each message a frame,
2//! its length (a little-endian `u32`) and then its binary form. What
3//! programs say to each other (a program and its editor, a tool's service).
4
5mod framing;
6#[cfg(test)]
7mod tests;
8
9pub use framing::{Len, MAX_FRAME, read_frame, read_frame_bytes, write_frame, write_frame_bytes};