Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ read_str_fixstr
Function
read_str_fixstr
nodedb-query/src/msgpack_scan/reader.rs:545–548 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
543
544
#[test]
545
fn read_str_fixstr() {
546
let buf = encode(&json!(
"hi"
));
547
assert_eq!(read_str(&buf, 0), Some(
"hi"
));
548
}
549
550
#[test]
551
fn read_str_str8() {
Callers
nothing calls this directly
Calls
1
encode
Function · 0.70
Tested by
no test coverage detected