Provide a decompression implementation that acts on buf and returns decompressed data.
buf
Should use the native DecompressionStream on browsers, zlib on node. Should throw if the compression algorithm is not supported.
Provide a decompression implementation that acts on
buf
and returns decompressed data.Should use the native DecompressionStream on browsers, zlib on node. Should throw if the compression algorithm is not supported.