widestrs

Utf16Char = distinct int16
  ソース 編集
WideCString = ref UncheckedArray[Utf16Char]
  ソース 編集
WideCStringObj = WideCString
  ソース 編集

プロシージャ

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!  ソース 編集
proc newWideCString(source: cstring; L: int): WideCStringObj {...}{.raises: [], tags: [].}
  ソース 編集
proc newWideCString(s: cstring): WideCStringObj {...}{.raises: [], tags: [].}
  ソース 編集
proc newWideCString(s: string): WideCStringObj {...}{.raises: [], tags: [].}
  ソース 編集
proc `$`(w: WideCString; estimate: int; replacement: int = 0x0000FFFD): string {...}{.
    raises: [], tags: [].}
  ソース 編集
proc `$`(s: WideCString): string {...}{.raises: [], tags: [].}
  ソース 編集