Skip to main content

write_utf8

Function write_utf8 

Source
pub fn write_utf8<K: Sink>(s: &str, w: &mut K) -> Result<(), BitError>
Expand description

Writes the string’s UTF-8 bytes followed by the terminator (via [write], so an embedded '\0' is rejected the same way).

§Errors

As [write].