No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mrblib
src
test
.gitignore
README.md
mrbgem.rake
run_test.rb

README.md

mruby-miniz

"mruby-miniz" mrbgem provides interface to zip and unzip files. Implemented using miniz, Single C source file Deflate/Inflate compression library with zlib-compatible API, ZIP archive reading/writing, PNG writing.

Example

% vim zip.rb
Miniz.zip("test.zip", "test.txt", "test2.txt", "test3.txt")


% vim unzip.rb
Miniz.unzip("test.zip")
...

Requirement

TODO

  • Support zip directories.
  • Remove IO require, configurable.
  • Remove malloc require, configurable.
  • add missing methods.
  • write tests.
  • Add exception instead of return false if some problem happens.

License

under the MIT License: