pub fn from_bstr<'a>(input: impl Into<Cow<'a, BStr>>) -> Cow<'a, Path>
Similar to try_from_bstr(), but panics if malformed surrogates are encountered on windows.
try_from_bstr()