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

Method len

nodedb/src/bridge/envelope.rs:42–44  ·  view source on GitHub ↗

Length in bytes.

(&self)

Source from the content-addressed store, hash-verified

40
41 /// Length in bytes.
42 pub fn len(&self) -> usize {
43 self.as_bytes().len()
44 }
45
46 /// Convert to Vec<u8>.
47 pub fn to_vec(&self) -> Vec<u8> {

Callers 15

hostnameFunction · 0.45
appendMethod · 0.45
append_durableMethod · 0.45
recoverMethod · 0.45
pending_segmentsMethod · 0.45
parse_segment_filenameFunction · 0.45
validate_for_startupMethod · 0.45
allocMethod · 0.45
availableMethod · 0.45
drainMethod · 0.45
dispatch_to_coreMethod · 0.45

Calls 1

as_bytesMethod · 0.45