Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ new
Method
new
nodedb-codec/src/double_delta.rs:45–50 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
44
impl BitWriter {
45
pub(crate) fn new() -> Self {
46
Self {
47
buf: Vec::with_capacity(1024),
48
bit_pos: 0,
49
}
50
}
51
52
pub(crate) fn write_bit(&mut self, bit: bool) {
53
let byte_idx = self.bit_pos / 8;
Callers
nothing calls this directly
Calls
1
decode
Function · 0.70
Tested by
no test coverage detected