Function winsafe::WideCharToMultiByte

source ·
pub fn WideCharToMultiByte(
    code_page: CP,
    flags: WC,
    wide_char_str: &[u16],
    default_char: Option<u8>,
    used_default_char: Option<&mut bool>
) -> SysResult<Vec<u8>>
Available on crate feature kernel only.
Expand description

WideCharToMultiByte function.

If wide_char_str doesn’t have a terminating null, the resulting Vec<u8> also won’t include one.