[][src]Crate stringio

Structs

WrapIoWrite
WrapStrWrite

Traits

StrWrite

This trait is designed to provide a similar interface to io::Write, but is designed to operate on strings. Unlike fmt::Write, it can report partial writes, but it guarantees that a whole number of code points were written with every write. Generally this involves buffering partial code points as necessary.

Functions

is_continuation_byte

Returns true if a byte is a UTF-8 continuation byte

partial_from_utf8

Convert a (possibly truncated) byte array to a str and a partial code point.