Skip to main content

write_len

Function write_len 

Source
pub fn write_len(w: &mut impl Write, len: usize) -> Result<()>
Expand description

Writes a collection length as u32, returning an error if it exceeds u32::MAX.