What are byte strings and when to use them?
masterbstr provides extension traits for &[u8] and Vec<u8> that allow them to be treated as byte strings.
Unlike the standard library's String and str types, byte strings are not required to be valid UTF-8. They may be fully or partially valid UTF-8. Use byte strings when it is inconvenient or incorrect to require strict UTF-8 validation, such as when processing raw data streams that might contain invalid sequences but still require string-like operations (e.g., searching, splitting, or case conversion).