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

Function skip_n_values

nodedb-query/src/msgpack_scan/reader.rs:197–202  ·  view source on GitHub ↗
(buf: &[u8], mut pos: usize, count: usize, depth: u16)

Source from the content-addressed store, hash-verified

195}
196
197fn skip_n_values(buf: &[u8], mut pos: usize, count: usize, depth: u16) -> Option<usize> {
198 for _ in 0..count {
199 pos = skip_value_depth(buf, pos, depth + 1)?;
200 }
201 Some(pos)
202}
203
204fn skip_n_pairs(buf: &[u8], mut pos: usize, count: usize, depth: u16) -> Option<usize> {
205 for _ in 0..count {

Callers 1

skip_value_depthFunction · 0.85

Calls 1

skip_value_depthFunction · 0.85

Tested by

no test coverage detected