Introducing "byte strings" to Rust: a string type that is not required to be valid UTF-8.https://github.com/BurntSushi/bstr
-
-
Replying to @burntsushi5 @rustlang
I always thought the sole purpose of OsStr/OsString existence was to handle non-UTF8 stringy blobs?
1 reply 0 retweets 0 likes
Replying to @pkraszewski @rustlang
Almost. It has an additional requirement which is that it must roundtrip the data losslessly, and must be cheap to construct from valid utf8. It's meant to abstract over OS apis.
8:32 AM - 2 Apr 2019
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.