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

Method len

der/src/document.rs:64–66  ·  view source on GitHub ↗

Get the length of the encoded ASN.1 DER in bytes.

(&self)

Source from the content-addressed store, hash-verified

62
63 /// Get the length of the encoded ASN.1 DER in bytes.
64 pub fn len(&self) -> Length {
65 self.length
66 }
67
68 /// Try to decode the inner ASN.1 DER message contained in this
69 /// [`Document`] as the given type.

Callers 7

encoded_lenMethod · 0.45
try_fromMethod · 0.45
iter_cmpFunction · 0.45
encode_to_vecMethod · 0.45
read_intoMethod · 0.45
fromMethod · 0.45
newMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected