(buf: &mut Vec<u8>, key: &str, value: &str)
| 118 | /// Caller is responsible for writing the map header first via [`write_map_header`]. |
| 119 | #[inline] |
| 120 | pub fn write_kv_str(buf: &mut Vec<u8>, key: &str, value: &str) { |
| 121 | write_str(buf, key); |
| 122 | write_str(buf, value); |
| 123 | } |
| 124 | |
| 125 | /// Write a key-value pair (string key, i64 value). |
| 126 | #[inline] |