Trait thrussh::encoding::Encoding [] [src]

pub trait Encoding {
    fn extend_ssh_string(&mut self, s: &[u8]);
fn extend_ssh_string_blank(&mut self, s: usize) -> &mut [u8];
fn extend_ssh_mpint(&mut self, s: &[u8]);
fn extend_list<A: Bytes, I: Iterator<Item = A>>(&mut self, list: I);
fn write_empty_list(&mut self); }

Encode in the SSH format.

Required Methods

Push an SSH-encoded string to self.

Push an SSH-encoded blank string of length s to self.

Push an SSH-encoded multiple-precision integer.

Push an SSH-encoded list.

Push an SSH-encoded empty list.

Implementors