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

Function map_header_fixmap

nodedb-query/src/msgpack_scan/reader.rs:571–575  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

569
570 #[test]
571 fn map_header_fixmap() {
572 let buf = encode(&json!({"x": 1}));
573 let (count, _data_offset) = map_header(&buf, 0).unwrap();
574 assert_eq!(count, 1);
575 }
576
577 #[test]
578 fn skip_bin() {

Callers

nothing calls this directly

Calls 2

map_headerFunction · 0.85
encodeFunction · 0.70

Tested by

no test coverage detected