Procs
proc compress(src: pointer; len: int; level = DefaultCompression; dataFormat = dfGzip): string {....raises: [ZippyError], tags: [], forbids: [].}
- Compresses src and returns the compressed data. Source Edit
proc compress(src: seq[uint8]; level = DefaultCompression; dataFormat = dfGzip): seq[ uint8] {....raises: [ZippyError], tags: [], forbids: [].}
- Source Edit
proc compress(src: string; level = DefaultCompression; dataFormat = dfGzip): string {. ...raises: [ZippyError], tags: [], forbids: [].}
- Source Edit
proc uncompress(src: pointer; len: int; dataFormat = dfDetect): string {. ...raises: [ZippyError], tags: [], forbids: [].}
- Uncompresses src and returns the uncompressed data. Source Edit
proc uncompress(src: seq[uint8]; dataFormat = dfDetect): seq[uint8] {. ...raises: [ZippyError], tags: [], forbids: [].}
- Source Edit
proc uncompress(src: string; dataFormat = dfDetect): string {. ...raises: [ZippyError], tags: [], forbids: [].}
- Source Edit