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

Method decode_all

nodedb-codec/src/double_delta.rs:334–336  ·  view source on GitHub ↗

Decode all values at once.

(data: &[u8])

Source from the content-addressed store, hash-verified

332
333 /// Decode all values at once.
334 pub fn decode_all(data: &[u8]) -> Result<Vec<i64>, CodecError> {
335 decode(data)
336 }
337
338 /// Next value, or None if exhausted.
339 pub fn next_value(&mut self) -> Option<i64> {

Callers

nothing calls this directly

Calls 1

decodeFunction · 0.70

Tested by

no test coverage detected