sdlIconvUtf8Ucs4 function

Pointer<Uint32> sdlIconvUtf8Ucs4(
  1. String s
)
const SDL_iconv_utf8_ucs4 = (S) (Uint32 *)SDL_iconv_string('UCS-4-INTERNAL', 'UTF-8', S, SDL_strlen(S)+1);

Implementation

Pointer<Uint32> sdlIconvUtf8Ucs4(String s) => sdlIconvString(
  'UCS-4-INTERNAL',
  'UTF-8',
  s,
  sdlStrlen(s) + 1,
).cast<Uint32>();