Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ read_str_str8
Function
read_str_str8
nodedb-query/src/msgpack_scan/reader.rs:551–555 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
549
550
#[test]
551
fn read_str_str8() {
552
let long =
"a"
.repeat(40);
553
let buf = encode(&json!(long));
554
assert_eq!(read_str(&buf, 0), Some(long.as_str()));
555
}
556
557
#[test]
558
fn read_bool_values() {
Callers
nothing calls this directly
Calls
1
encode
Function · 0.70
Tested by
no test coverage detected