Function ctru_sys::decode_utf16

source ·
pub unsafe extern "C" fn decode_utf16(
    out: *mut u32,
    in_: *const u16
) -> isize
Expand description

Convert a UTF-16 sequence into a UTF-32 codepoint

§Arguments

  • out (direction out) - Output codepoint
  • in (direction in) - Input sequence

§Returns

number of input code units consumed -1 for error