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

Method len

nodedb-wal/src/align.rs:131–133  ·  view source on GitHub ↗

Current number of bytes written.

(&self)

Source from the content-addressed store, hash-verified

129
130 /// Current number of bytes written.
131 pub fn len(&self) -> usize {
132 self.len
133 }
134
135 /// Whether the buffer has no written data.
136 pub fn is_empty(&self) -> bool {

Callers 15

wire_sizeMethod · 0.45
to_bytesMethod · 0.45
from_bytesMethod · 0.45
detects_truncationFunction · 0.45
wire_sizeMethod · 0.45
to_bytesMethod · 0.45
from_bytesMethod · 0.45
rejects_truncatedFunction · 0.45
writeMethod · 0.45
from_fileMethod · 0.45
encrypt_segment_envelopeFunction · 0.45
decrypt_segment_envelopeFunction · 0.45

Calls

no outgoing calls

Tested by 4

detects_truncationFunction · 0.36
rejects_truncatedFunction · 0.36