Home

Awesome

zip-odin

Odin binding for a portable, simple zip library.

Example

package main

import "zip"

main :: proc() {
    zip_file := zip.open("odin.zip", 6, 'w')
    defer zip.close(zip_file)

    zip.entry_open(zip_file, "test")
    defer zip.entry_close(zip_file)

    content := "test content"
    zip.entry_write(zip_file, &content, len(content))
}

References

License

This repo is released under the MIT License.