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

Method wire_size

nodedb-wal/src/tombstone.rs:39–41  ·  view source on GitHub ↗

Encoded size in bytes.

(&self)

Source from the content-addressed store, hash-verified

37
38 /// Encoded size in bytes.
39 pub fn wire_size(&self) -> usize {
40 4 + self.collection.len() + 8
41 }
42
43 /// Serialize to bytes.
44 pub fn to_bytes(&self) -> Result<Vec<u8>> {

Callers 1

to_bytesMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected