Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ skip_nested_array
Function
skip_nested_array
nodedb-query/src/msgpack_scan/reader.rs:499–502 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
497
498
#[test]
499
fn skip_nested_array() {
500
let buf = encode(&json!([[1, 2], [3, 4, 5]]));
501
assert_eq!(skip_value(&buf, 0), Some(buf.len()));
502
}
503
504
#[test]
505
fn skip_truncated_returns_none() {
Callers
nothing calls this directly
Calls
1
encode
Function · 0.70
Tested by
no test coverage detected