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

Method read_u64_le

nodedb/src/engine/timeseries/reader.rs:80–83  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

78 }
79
80 fn read_u64_le(&mut self) -> Option<u64> {
81 let b = self.read_bytes(8)?;
82 Some(u64::from_le_bytes(b.try_into().ok()?))
83 }
84}
85
86// ── TSEG header encode/decode ─────────────────────────────────────────────────

Callers 2

Calls 2

read_bytesMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected