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 frame_reader;
6mod frame_writer;
7mod framing;
8#[cfg(test)]
9mod tests;
10
11pub use frame_reader::FrameReader;
12pub use frame_writer::FrameWriter;
13pub use framing::{Len, MAX_FRAME, read_frame, read_frame_bytes, write_frame, write_frame_bytes};