Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ finish
Method
finish
nodedb-codec/src/zstd_codec.rs:211–213 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
209
}
210
211
pub fn finish(self) -> Result<Vec<u8>, CodecError> {
212
encode_with_level(&self.buf, self.level)
213
}
214
}
215
216
impl Default for ZstdEncoder {
Callers
1
streaming_encoder
Function · 0.45
Calls
1
encode_with_level
Function · 0.85
Tested by
1
streaming_encoder
Function · 0.36