MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / content_len

Method content_len

atomic-core/src/crdt/tables.rs:593–595  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

591 /// Returns the content length in bytes.
592 #[inline]
593 pub fn content_len(&self) -> u32 {
594 self.content_end - self.content_start
595 }
596}
597
598/// Encode leaf data as 22 bytes for storage.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected