gix_packetline_blocking::encode

Function text_to_write

Source
pub fn text_to_write(text: &[u8], out: impl Write) -> Result<usize>
Available on crate feature blocking-io only.
Expand description

Write a text message to out, which is assured to end in a newline.