MCPcopy Create free account
hub / github.com/beling/bsuccinct-rs / is_code_empty

Method is_code_empty

csf/src/coding/mod.rs:89–89  ·  view source on GitHub ↗
(&self, code: Self::Codeword)

Source from the content-addressed store, hash-verified

87
88 /// Returns whether the `code` is empty (has zero fragments).
89 #[inline] fn is_code_empty(&self, code: Self::Codeword) -> bool { self.len_of(code) == 0 }
90
91 /// Returns the first fragment of the `code`.
92 #[inline] fn first_fragment_of(&self, code: Self::Codeword) -> u8 { self.fragment_of(code, 0) }

Callers 1

Implementers 2

mr.rscsf/src/coding/mr.rs
geom.rscsf/src/coding/geom.rs

Calls 1

len_ofMethod · 0.45

Tested by

no test coverage detected