compiler/rodutils

  Source   Edit

Serialization utilities for the compiler.

Procs

proc decodeStr(s: cstring; pos: var int): string {....raises: [], tags: [].}
  Source   Edit
proc decodeVBiggestInt(s: cstring; pos: var int): BiggestInt {....raises: [],
    tags: [].}
  Source   Edit
proc decodeVInt(s: cstring; pos: var int): int {....raises: [], tags: [].}
  Source   Edit
proc encodeStr(s: string; result: var string) {....raises: [], tags: [].}
  Source   Edit
proc encodeVBiggestInt(x: BiggestInt; result: var string) {....raises: [], tags: [].}
encode a biggest int as a variable length base 190 int.   Source   Edit
proc encodeVInt(x: int; result: var string) {....raises: [], tags: [].}
encode an int as a variable length base 190 int.   Source   Edit
proc toStrMaxPrecision(f: BiggestFloat | float32): string
  Source   Edit

Iterators

iterator decodeStrArray(s: cstring): string {....raises: [], tags: [].}
  Source   Edit
iterator decodeVIntArray(s: cstring): int {....raises: [], tags: [].}
  Source   Edit