Skip to main content

write_kv_raw

Function write_kv_raw 

Source
pub fn write_kv_raw(buf: &mut Vec<u8>, key: &str, raw_value: &[u8])
Expand description

Write a key-value pair (string key, raw msgpack value bytes).

The value bytes must be valid msgpack. This enables splicing raw field bytes extracted via msgpack_scan::extract_field directly into a new map without decode/re-encode.