https://github.com/thechampagne/zip-c3
C:three: binding & wrapper for a portable, simple zip library.
https://github.com/thechampagne/zip-c3
c3 c3lang zip
Last synced: 8 months ago
JSON representation
C:three: binding & wrapper for a portable, simple zip library.
- Host: GitHub
- URL: https://github.com/thechampagne/zip-c3
- Owner: thechampagne
- License: mit
- Created: 2023-10-12T00:14:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-14T11:32:09.000Z (over 2 years ago)
- Last Synced: 2025-04-05T11:29:12.681Z (about 1 year ago)
- Topics: c3, c3lang, zip
- Language: C
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zip-c3
[](https://github.com/thechampagne/zip-c3/releases/latest) [](https://github.com/thechampagne/zip-c3/blob/main/LICENSE)
C3 binding for a portable, simple **zip** library.
### Example
```c
import std::core::string;
import zip;
fn void main() {
Zip z = zip::open("/tmp/c3.zip", 6, 'w');
defer z.close();
z.entryOpen("test");
defer z.entryClose();
string::ZString content = "test content";
z.entryWrite(content, content.len());
}
```
### References
- [zip](https://github.com/kuba--/zip)
### License
This repo is released under the [MIT License](https://github.com/thechampagne/zip-c3/blob/main/LICENSE).