Support for Brotli modes
martin-g opened this issue · 4 comments
martin-g commented
I am migrating https://github.com/rdblue/brotli-codec to Brotli4j and I see that it misses support for Brotli modes:
- https://github.com/rdblue/brotli-codec/blob/9bbc2bcec1e7307e84552f28e90f20cb3099f189/src/main/java/org/apache/hadoop/io/compress/brotli/BrotliCompressor.java#L44
- https://www.brotli.org/encode.html#aa6f
Any reason why this is not supported at the moment ? Or it is just something that no one needed so far ?
hyperxpro commented
Brotli4j uses Google's Brotli Java code. As of now, Google's Brotli Java code does not have MODE
support. If you can contribute upstream to Google, I will pull the code and merge it with Brotli4j.
martin-g commented
Thanks for merging, @hyperxpro !
Any plans for 1.3.2 ?
hyperxpro commented
1.3.2 will release by end of this week or earlier (can't say exact date).