src/flatty

Search:
Group by:
Source   Edit  

Convert any Nim objects, numbers, strings, refs to and from binary format.

Types

SomeTable[K; V] = Table[K, V] | OrderedTable[K, V]
Source   Edit  

Procs

proc fromFlatty(s: string; i: var int; x: var bool) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var char) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var float32) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var float64) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var int) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var int8) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var int16) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var int32) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var int64) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var object)
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var string) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var uint) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var uint8) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var uint16) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var uint32) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty(s: string; i: var int; x: var uint64) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc fromFlatty[K, V](s: string; i: var int; x: var SomeTable[K, V])
Source   Edit  
proc fromFlatty[K](s: string; i: var int; x: var CountTable[K])
Source   Edit  
proc fromFlatty[N, T](s: string; i: var int; x: var array[N, T])
Source   Edit  
proc fromFlatty[T: distinct](s: string; i: var int; x: var T)
Source   Edit  
proc fromFlatty[T: enum and not range](s: string; i: var int; x: var T)
Source   Edit  
proc fromFlatty[T: tuple](s: string; i: var int; x: var T)
Source   Edit  
proc fromFlatty[T](s: string; i: var int; x: var ref T)
Source   Edit  
proc fromFlatty[T](s: string; i: var int; x: var seq[T])
Source   Edit  
proc fromFlatty[T](s: string; i: var int; x: var SomeSet[T])
Source   Edit  
proc fromFlatty[T](s: string; x: typedesc[T]): T
Source   Edit  
proc toFlatty(s: var string; x: bool) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: char) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: float32) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: float64) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: int) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: int8) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: int16) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: int32) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: int64) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: object)
Source   Edit  
proc toFlatty(s: var string; x: string) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: uint) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: uint8) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: uint16) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: uint32) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty(s: var string; x: uint64) {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc toFlatty[K, V](s: var string; x: SomeTable[K, V])
Source   Edit  
proc toFlatty[K](s: var string; x: CountTable[K])
Source   Edit  
proc toFlatty[N, T](s: var string; x: array[N, T])
Source   Edit  
proc toFlatty[T: distinct](s: var string; x: T)
Source   Edit  
proc toFlatty[T: enum and not range](s: var string; x: T)
Source   Edit  
proc toFlatty[T: tuple](s: var string; x: T)
Source   Edit  
proc toFlatty[T](s: var string; x: ref T)
Source   Edit  
proc toFlatty[T](s: var string; x: seq[T])
Source   Edit  
proc toFlatty[T](s: var string; x: SomeSet[T])
Source   Edit  
proc toFlatty[T](x: T): string
Takes structures and turns them into binary string. Source   Edit