Skip to main content

frame_bytes

Function frame_bytes 

Source
pub fn frame_bytes(header: &[u8], attachments: &[&[u8]]) -> Result<Vec<u8>>
Expand description

One frame’s bytes, preamble included, so it is written in one piece.

§Errors

InvalidInput when the header or the attachments together exceed 4 GiB.