#raw #string #bytes

raw-string

RawStr/RawString are like str/String, but without any guaranteed encoding

2 releases

0.1.1 Sep 8, 2018
0.1.0 Sep 8, 2018

#12 in #raw

Download history 11/week @ 2018-09-08

3 downloads per month

BSD-2-Clause

25KB
661 lines


lib.rs:

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.

No runtime deps