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

Method len

nodedb-codec/src/zstd_codec.rs:203–205  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

201 }
202
203 pub fn len(&self) -> usize {
204 self.buf.len()
205 }
206
207 pub fn is_empty(&self) -> bool {
208 self.buf.is_empty()

Callers 6

encode_with_levelFunction · 0.45
decodeFunction · 0.45
uncompressed_sizeFunction · 0.45
compression_levelFunction · 0.45
decompress_nativeFunction · 0.45
large_data_roundtripFunction · 0.45

Calls

no outgoing calls

Tested by 1

large_data_roundtripFunction · 0.36