MCPcopy Create free account
hub / github.com/RustCrypto/SSH / encode_prefixed

Method encode_prefixed

ssh-encoding/src/encode.rs:43–46  ·  view source on GitHub ↗

Encode this value, first prepending a `uint32` length prefix set to [`Encode::encoded_len`]. # Errors Returns errors specific to the concrete implementation of this trait.

(&self, writer: &mut impl Writer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

encodeMethod · 0.80
encodeMethod · 0.80
encode_tbsMethod · 0.80
encodeMethod · 0.80
encodeMethod · 0.80

Implementers 15

label.rsssh-encoding/src/label.rs
encode.rsssh-encoding/src/encode.rs
mpint.rsssh-encoding/src/mpint.rs
private.rsssh-key/src/private.rs
signature.rsssh-key/src/signature.rs
comment.rsssh-key/src/comment.rs
kdf.rsssh-key/src/kdf.rs
sshsig.rsssh-key/src/sshsig.rs
certificate.rsssh-key/src/certificate.rs
key_data.rsssh-key/src/public/key_data.rs
sk.rsssh-key/src/public/sk.rs
dsa.rsssh-key/src/public/dsa.rs

Calls 2

encodeMethod · 0.45
encoded_lenMethod · 0.45

Tested by

no test coverage detected