Introducing "byte strings" to Rust: a string type that is not required to be valid UTF-8.https://github.com/BurntSushi/bstr
I don't think so. I'm not sure i understand where the confusion lies. Byte strings are just bytes, which are conventionally interpreted as one specific encoding: utf8.
-
-
If you want to accept multiple encodings, then you need a crate like encoding or encoding_rs. There is nothing in bstr that will do this for you.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.