Skip to content

thechampagne/nimzip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Nim binding for a portable, simple zip library.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages