Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_bytes
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected