MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / write_kv_str

Function write_kv_str

nodedb-query/src/msgpack_scan/writer.rs:120–123  ·  view source on GitHub ↗
(buf: &mut Vec<u8>, key: &str, value: &str)

Source from the content-addressed store, hash-verified

118/// Caller is responsible for writing the map header first via [`write_map_header`].
119#[inline]
120pub 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]

Callers 6

inject_str_fieldFunction · 0.85
build_str_mapFunction · 0.85
roundtrip_mapFunction · 0.85
apply_post_aggregationFunction · 0.85
execute_aggregateMethod · 0.85
batches_to_document_rowsFunction · 0.85

Calls 1

write_strFunction · 0.70

Tested by 1

roundtrip_mapFunction · 0.68