Utf16
from_str : Str -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Convert a Str to Utf-16.
from_str_le : Str -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Convert a Str to Utf-16 using little-endian byte order.
from_str_be : Str -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Convert a Str to Utf-16 using big-endian byte order.
to_utf8 : List U16 -> Result (List U8) [BadUtf16 Utf16Problem]
Convert Utf-16 to Utf-8.
to_str : List U16 -> Result Str [BadUtf16 Utf16Problem]
Convert Utf-16 to Str.
from_utf8 : List U8 -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Convert Utf-8 to Utf-16.
from_utf8_le : List U8 -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Convert Utf-8 to Utf-16 using little-endian byte order.
from_utf8_be : List U8 -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Convert Utf-8 to Utf-16 using big-endian byte order.
from_codepoints : List U32 -> List U16
Convert a list of unicode codepoints to a list of Utf-16 code units.
to_codepoints : List U16 -> Result (List U32) [BadUtf16 Utf16Problem]
Convert a list of Utf-16 codeunits to unicode codepoints.