Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ read_u8
Method
read_u8
nodedb/src/engine/timeseries/reader.rs:65–68 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
63
}
64
65
fn read_u8(&mut self) -> Option<u8> {
66
let b = self.read_bytes(1)?;
67
Some(b[0])
68
}
69
70
fn read_u16_le(&mut self) -> Option<u16> {
71
let b = self.read_bytes(2)?;
Callers
15
read
Method · 0.80
read
Method · 0.80
read
Method · 0.80
skip_fields
Function · 0.80
read_u8_field
Function · 0.80
read1_str
Function · 0.80
read2_str
Function · 0.80
read_collection_deactivated
Function · 0.80
read2_u32
Function · 0.80
read2_u64
Function · 0.80
read_string_vec
Function · 0.80
read_fan_out
Function · 0.80
Calls
1
read_bytes
Method · 0.80
Tested by
no test coverage detected