src/prologue/core/encode

Source   Edit  

Procs

proc base64Decode(s: string): string {.inline, ...raises: [ValueError], tags: [],
                                       forbids: [].}
The base64 decode. Source   Edit  
proc base64Encode(s: string): string {.inline, ...raises: [], tags: [], forbids: [].}
The base64 encode. Source   Edit  
proc base64Encode[T: SomeInteger | char](s: openArray[T]): string {.inline.}
The base64 encode. Source   Edit  
proc urlsafeBase64Decode(s: string): string {.inline, ...raises: [ValueError],
    tags: [], forbids: [].}
URL-safe and Cookie-safe decoding. Source   Edit  
proc urlsafeBase64Encode(s: string): string {.inline, ...raises: [], tags: [],
    forbids: [].}
URL-safe and Cookie-safe encoding. Source   Edit  
proc urlsafeBase64Encode[T: SomeInteger | char](s: openArray[T]): string {.
    inline.}
URL-safe and Cookie-safe encoding. Source   Edit