package core:unicode/utf16

Index

Types (0)

This section is empty.

Constants (2)
Variables (0)

This section is empty.

Procedure Groups (0)

This section is empty.

Types

This section is empty.

Constants

MAX_RUNE ¶

MAX_RUNE :: '\U0010ffff'

REPLACEMENT_CHAR ¶

REPLACEMENT_CHAR :: '\ufffd'

Variables

This section is empty.

Procedures

decode ¶

decode :: proc "odin" (d: []rune, s: []u16) -> (n: int) {…}

decode_surrogate_pair ¶

decode_surrogate_pair :: proc "odin" (r1, r2: rune) -> rune {…}

decode_to_utf8 ¶

decode_to_utf8 :: proc "odin" (d: []u8, s: []u16) -> (n: int) {…}

encode ¶

encode :: proc "odin" (d: []u16, s: []rune) -> int {…}

encode_string ¶

encode_string :: proc "odin" (d: []u16, s: string) -> int {…}

encode_surrogate_pair ¶

encode_surrogate_pair :: proc "odin" (c: rune) -> (r1, r2: rune) {…}

is_surrogate ¶

is_surrogate :: proc "odin" (r: rune) -> bool {…}

Procedure Groups

This section is empty.

Source Files

Generation Information

Generated with odin version dev-2022-10 (vendor "odin") Windows_amd64 @ 2022-10-05 21:11:47.539297700 +0000 UTC