camlzip
camlzip copied to clipboard
Reading and writing zip and gzip files from OCaml
The spec for the Zip format (https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) says: > 4.4.17.1 The name of the file, with optional relative path. > The path stored MUST NOT contain a drive or >...
Camlzip does not support ZIP64 extensions. We are currently running into limit of 64k files. Has anyone worked on adding ZIP64 support?
This adds support for archives with more than 65535 entries by supporting ZIP64 central directory records. This is not full ZIP64 support, it doesn't implement support for large files and...
also make use of stdlib-shims, but this is of course optional IMHO.
## Motivation Our web endpoint needs to construct fairly small zip files consisting of multiple CSVs (think export of multiple independent queries). With the current implementation, we need to use...
The current API of the Gzip module only allows reading from a `Stdlib.in_channel`. This PR allows reading from a in-memory `bytes`, which is sometimes useful (we have a concrete use...
Add {deflate,inflate}_bigstring similar to {delfate,inflate} that read from / write to bigstrings instead of bytes. bigstring is defined as: type bigstring = (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t See https://github.com/ocaml/ocaml/blob/trunk/bytecomp/lambda.ml#L138 The Z_BUF_ERROR...
Hello I'm currently trying to properly cross compile your library, but I'm facing an issue. I notice the following in your README - Edit the three variables at the beginning...
# Description Hi, working on camlzip I identified a bug that makes the `read_entry` function goes into an infinite loop for entries that are marked as 'Deflated' but are empty....