Function mozjs::jsapi::JS::EncodeWideToUtf8

source ·
pub unsafe extern "C" fn EncodeWideToUtf8(
    cx: *mut JSContext,
    chars: *const u32
) -> u64
Expand description

Encode a wide string to a UTF-8 string.

NOTE: Should only be used when interacting with Windows API functions.