package core:unicode/utf8/utf8string

⌘K
Ctrl+K
or
/

    Index

    Types (1)
    Constants (0)

    This section is empty.

    Variables (0)

    This section is empty.

    Procedures (6)
    Procedure Groups (0)

    This section is empty.

    Types

    String ¶

    String :: struct {
    	contents:   string,
    	rune_count: int,
    	// cached information
    	non_ascii:  int,
    	// index to non-ascii code points
    	width:      int,
    	// 0 if ascii
    	byte_pos:   int,
    	rune_pos:   int,
    }
    Related Procedures With Parameters

    Constants

    This section is empty.

    Variables

    This section is empty.

    Procedures

    at ¶

    at :: proc(s: ^String, i: int, loc := #caller_location) -> (r: rune) {…}

    init ¶

    init :: proc(s: ^String, contents: string) -> ^String {…}

    is_ascii ¶

    is_ascii :: proc(s: ^String) -> bool {…}

    len ¶

    len :: proc(s: ^String) -> int {…}

    slice ¶

    slice :: proc(s: ^String, i, j: int, loc := #caller_location) -> string {…}

    to_string ¶

    to_string :: proc(s: ^String) -> string {…}

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-17 21:11:02.097346700 +0000 UTC