Skip to main content

write_frame

Function write_frame 

Source
pub fn write_frame<W: Write>(writer: &mut W, payload: &[u8]) -> Result<()>
Expand description

Write payload as a single length-prefixed frame: [u32 LE len][bytes].