[][src]Function thorium::win32::wide_null

pub fn wide_null(s: &str) -> Vec<u16>

Forms a wide string with a null terminator from the &str given.

use thorium::win32::wide_null;
assert_eq!(wide_null("𝄞"), vec![0xD834, 0xDD1E, 0]);