# widestrs

- Manual
- Standard library
- Index

Search:
Group by:

# Types

    Utf16Char = distinct int16

  Source Edit

    WideCString = ref UncheckedArray[Utf16Char]

  Source Edit

# Procs

    proc len(w: WideCString): int {...}{.raises: [], tags: [].}

  returns the length of a widestring. This traverses the whole string to find the binary zero end marker! Source Edit

    proc newWideCString(source: cstring; L: int): WideCString {...}{.raises: [], tags: [].}

  Source Edit

    proc newWideCString(s: cstring): WideCString {...}{.raises: [], tags: [].}

  Source Edit

    proc newWideCString(s: string): WideCString {...}{.raises: [], tags: [].}

  Source Edit

    proc `$`(w: WideCString; estimate: int; replacement: int = 0x0000FFFD): string {...}{.
        raises: [], tags: [].}

  Source Edit

    proc `$`(s: WideCString): string {...}{.raises: [], tags: [].}

  Source Edit