Skip to main content

write

Function write 

Source
pub fn write<K: Sink>(v: &[u8], w: &mut K) -> Result<(), BitError>
Expand description

Writes the bytes followed by the 0x00 terminator.

§Errors

Convert on an embedded NUL — the decoded value would stop there, so the wire image could not round-trip.