Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ new
Method
new
nodedb-codec/src/delta.rs:172–176 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
170
171
impl DeltaEncoder {
172
pub fn new() -> Self {
173
Self {
174
values: Vec::with_capacity(4096),
175
}
176
}
177
178
pub fn push(&mut self, value: i64) {
179
self.values.push(value);
Callers
nothing calls this directly
Calls
1
decode
Function · 0.70
Tested by
no test coverage detected