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