encode_into_writer

Function encode_into_writer 

Source
pub fn encode_into_writer<I, W>(input: I, writer: &mut W) -> Result<()>
where I: IntoIterator<Item = u8>, W: Write,
Expand description

Encode bytes as SLIP and write the result directly into the provided writer.

The writer receives the escaped payload followed by the trailing END delimiter. Refer to examples/basic.rs for a runnable usage sample.