The optional MultiByte structure provides support for multibyte encoded strings through functions that convert multibyte strings to and from wide strings and wide characters. Although the interface supports stateful multibyte encodings, an implementation may support only stateless multibyte encodings. Such an implementation may raise Invalid when any of the functions that take a state argument are called in a locale that uses a stateful encoding. Invalid indicates an attempt was made to convert from an invalid multibyte encoding, or from a multibyte encoding with no corresponding encoding in the target type.
Conversion always begins in the initial state.
This function corresponds to ANSI C mbstowcs . Conversion always begins in the initial state. This function corresponds to ANSI C wcstombs . This function corresponds to the ISO C function mbrlen . This function corresponds to the ISO C function mbrtowc .