mirror of
https://github.com/thechampagne/nimzip
synced 2026-01-14 21:41:35 +00:00
No description
| src | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| nimzip.nimble | ||
| README.md | ||
nimzip
Nim binding for a portable, simple zip library.
Download
nimble install nimzip
Example
import nimzip
when isMainModule:
var zip = zip_open("/tmp/nim.zip", 6, 'w')
discard zip_entry_open(zip, "test")
let content: cstring = "test content"
discard zip_entry_write(zip, content, csize_t(len(content)))
discard zip_entry_close(zip)
zip_close(zip)
References
License
This repo is released under the MIT License.