Return to Roc packages
Documentation
Utf16
▶
from_str
from_str_le
from_str_be
to_utf8
to_str
from_utf8
from_utf8_le
from_utf8_be
from_codepoints
to_codepoints
(press
s
)
Utf16
.
from_str
: Str -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Utf16
.
from_str_le
: Str -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Utf16
.
from_str_be
: Str -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Utf16
.
to_utf8
: List U16 -> Result (List U8) [BadUtf16 Utf16Problem]
Utf16
.
to_str
: List U16 -> Result Str [BadUtf16 Utf16Problem]
Utf16
.
from_utf8
: List U8 -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Utf16
.
from_utf8_le
: List U8 -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Utf16
.
from_utf8_be
: List U8 -> Result (List U16) [BadUtf8 Utf8.Utf8Problem]
Utf16
.
from_codepoints
: List U32 -> List U16
Utf16
.
to_codepoints
: List U16 -> Result (List U32) [BadUtf16 Utf16Problem]
Exposed Modules
LLM docs
Utf16