google / wuffs

Wrangling Untrusted File Formats Safely
Other
4.06k stars 129 forks source link

Standardize compression decoders' dictionary / history APIs #73

Open nigeltao opened 2 years ago

nigeltao commented 2 years ago

As of Wuffs v0.3, there is a base.io_transformer interface:

and every compression decoder is a base.io_transformer, but there isn't an additional base.compression_decoder interface. Instead, we have some ad hoc additional methods:

It would be nice if there was a common API, at least for the dictionary / history concepts.