gendx / lzma-rs

An LZMA decoder written in pure Rust
MIT License
127 stars 27 forks source link

API Suggestion: Add encoder and decoder structs #97

Open crazystylus opened 1 year ago

crazystylus commented 1 year ago

In the compression decompression ecosystem, the usual pattern I see is writing an encoder and decoder structs which implement io::Read and io::Write. While this library's API is perfectly usable, the difference in API makes it tough to swap out an existing library with this one.

I have attached some links for your reference.

References