Skip to main content

from_windows_string

Function from_windows_string 

Source
pub fn from_windows_string(s: &[u16]) -> String
Expand description

Creates a String from a nul-terminated UTF-16-encoded u16 buffer.