rodutils

Source   Edit  

Serialization utilities for the compiler.

Procs

proc decodeStr(s: cstring; pos: var int): string {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc decodeVBiggestInt(s: cstring; pos: var int): BiggestInt {....raises: [],
    tags: [], forbids: [].}
Source   Edit  
proc decodeVInt(s: cstring; pos: var int): int {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc encodeStr(s: string; result: var string) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc encodeVBiggestInt(x: BiggestInt; result: var string) {....raises: [],
    tags: [], forbids: [].}
encode a biggest int as a variable length base 190 int. Source   Edit  
proc encodeVInt(x: int; result: var string) {....raises: [], tags: [], forbids: [].}
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: [], forbids: [].}
Source   Edit  
iterator decodeVIntArray(s: cstring): int {....raises: [], tags: [], forbids: [].}
Source   Edit