Crate raw_string[][src]

RawString and RawStr are the equivalents of String and str, or OsString and OsStr, but without any guarantees about the encoding.

They are useful in all places where you would otherwise use Vec<u8> and [u8] to represent your strings.

Modules

unix

Conversions only available on unix.

Structs

RawStr

A str with unchecked contents.

RawString

A String with unchecked contents.

Utf8Chunk

A chunk of valid UTF-8, possibly followed by a broken character encoding.

Utf8ChunksIter

An iterator over chunks of valid UTF-8 in a RawStr.

Traits

RawStrIndex

The equivalent of SliceIndex for RawStr.