Skip to main content

write_frame

Function write_frame 

Source
pub fn write_frame(
    output: &mut impl Write,
    header: &[u8],
    attachments: &[&[u8]],
) -> Result<()>
Expand description

Writes one frame and flushes it.

§Errors

A frame over 4 GiB, or the output’s error.