pub fn write_frame( output: &mut impl Write, header: &[u8], attachments: &[&[u8]], ) -> Result<()>
Writes one frame and flushes it.
A frame over 4 GiB, or the output’s error.