(buf: &mut Vec<u8>, key: &str, raw_value: &[u8])
| 150 | /// into a new map without decode/re-encode. |
| 151 | #[inline] |
| 152 | pub fn write_kv_raw(buf: &mut Vec<u8>, key: &str, raw_value: &[u8]) { |
| 153 | write_str(buf, key); |
| 154 | buf.extend_from_slice(raw_value); |
| 155 | } |
| 156 | |
| 157 | /// Write a key-value pair (string key, null value). |
| 158 | #[inline] |