Skip to main content

write_kv_str

Function write_kv_str 

Source
pub fn write_kv_str(buf: &mut Vec<u8>, key: &str, value: &str)
Expand description

Write a key-value pair into a msgpack map being built.

Caller is responsible for writing the map header first via write_map_header.