UCharStdc extension

Extension on Stdc to provide <uchar.h> functionality.

on

Methods

c16rtomb(char16_t c16) List<int>

Available on Stdc, provided by the UCharStdc extension

Converts a char16_t to a UTF-8 encoded byte sequence.
c32rtomb(char32_t c32) List<int>

Available on Stdc, provided by the UCharStdc extension

Converts a char32_t to a UTF-8 encoded byte sequence.
mbrtoc16(List<int> s) char16_t

Available on Stdc, provided by the UCharStdc extension

Converts a UTF-8 encoded sequence to a char16_t. Returns -1 on encoding error.
mbrtoc32(List<int> s) char32_t

Available on Stdc, provided by the UCharStdc extension

Converts a UTF-8 encoded sequence to a char32_t. Returns -1 on encoding error.