Function ctru_sys::decode_utf8

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

Convert a UTF-8 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