str.encode_utf16().chain(Some(0)).collect();
OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect::<Vec<_>>():
UTF-16 にしたい場合
HSTRING::from(source).to_vec();
Go to list of users who liked
str.encode_utf16().chain(Some(0)).collect();
OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect::<Vec<_>>():
UTF-16 にしたい場合
HSTRING::from(source).to_vec();
Register as a new user and use Qiita more conveniently
Go to list of users who liked