Skip to main content

write_string

Function write_string 

Source
pub fn write_string(out: &mut Vec<u8>, bytes: &[u8])
Expand description

Write an SSH string (u32 length prefix + bytes) to a buffer. Public so the kovra-agent face can frame ssh-agent replies with the same helper the custody path uses (the wire encoder lives once, in core).