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

Function write_kv_null

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

Source from the content-addressed store, hash-verified

157/// Write a key-value pair (string key, null value).
158#[inline]
159pub fn write_kv_null(buf: &mut Vec<u8>, key: &str) {
160 write_str(buf, key);
161 write_null(buf);
162}
163
164/// Inject a string field into a msgpack map without full decode.
165///

Callers 1

apply_post_aggregationFunction · 0.85

Calls 2

write_nullFunction · 0.85
write_strFunction · 0.70

Tested by

no test coverage detected