Support for Brotli modes
martin-g opened this issue · comments
Martin Grigorov 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 ?
Aayush Atharva 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.
Aayush Atharva commented
Fixed by #15
Martin Grigorov commented
Thanks for merging, @hyperxpro !
Any plans for 1.3.2 ?
Aayush Atharva commented
1.3.2 will release by end of this week or earlier (can't say exact date).