dsoprea / PyEasyArchive

A very intuitive and useful adapter to libarchive for universal archive access.
MIT License
96 stars 33 forks source link

custom read functions #39

Open aviau opened 5 years ago

aviau commented 5 years ago

Hello!

It would be great if this library supported custom read functions as supported in libarchive:

Sometimes, none of the packaged "open" functions will work for you. In that case, you can use the lower-level `archive_read_open` function. This accepts three callbacks and a pointer to your data:

- An open callback. This is legacy and is never necessary and should not be used.
- A read callback.
- A close callback.

Source