Skip to main content

write_section

Function write_section 

Source
pub fn write_section(out: &mut Vec<u8>, tag: [u8; 4], version: u8, body: &[u8])
Expand description

Encode a section header (tag + version + length) into out and then append the body bytes.