hyperxpro/Brotli4j

Is the implementation thread safe

harshal-dupare opened this issue · 2 comments

In my use-case I need the brotli compressor to be thread safe, just wanted to enquire if it is thread safe or not?

No, Encoder and Decoders are not thread safe. Thread safety should be done at your application level. Consider delegation the Encoders and Decoders to make it thread safe.

Thanks for the quick resolution @hyperxpro !