ezstd
ezstd copied to clipboard
Add streaming support
This adds bindings for ZSTD_compressStream2
and ZSTD_decompressStream
to ezstd. It takes care of repeating calls to those functions until they've processed all of the input as much as possible. The motivating use case of this was compressing a stream of messages on a websocket (and thus getting better compression for subsequent messages in the stream as they can reference previous messages). It also supports using a dictionary for both of these.
I'm really baffled by the CI failures on Mac. No clue why linking would fail like that.
Hello,
I'm in holiday this week. I'm back in business next week and I will take a look on this. Thanks a lot for your contribution