Function write_map_header

Source
fn write_map_header<W: Write>(writer: &mut W, len: usize) -> Result<(), Error>
Expand description

Write a msgpack map header (fixmap / map16 / map32 depending on len) directly to the underlying writer. Used by structs, maps, and the variant shapes once those land.