Gzip compression with zlib

For now, zlib can only deflate and inflate
But I need to use gzip format now. Is it possible? For now I am trying get it as NE

1 Like

There is currently no support for gzip format, and it’s unlikely we’ll add it.
I think it’s a perfect candidate for a NE.

3 Likes

Oh yes. Text book example of a native extension. Please share your result @Insality!

1 Like

@Insality please make NE asynchronous to avoid blocking the main thread. The standard inflate/deflate functions are synchronous and only suitable for small data.

2 Likes