MCPcopy Create free account
hub / github.com/RustCrypto/formats / encoded_len

Method encoded_len

der/src/document.rs:165–167  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

163
164impl Encode for Document {
165 fn encoded_len(&self) -> Result<Length> {
166 Ok(self.len())
167 }
168
169 fn encode(&self, writer: &mut dyn Writer) -> Result<()> {
170 writer.write(self.as_bytes())

Callers 2

decodeMethod · 0.45
decode_sequenceFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected