makeDecompressor
fn
Decompressor makeDecompressor(DecompressionOptions opts, string providerName = null)Create a streaming decompressor for the requested options.
Parameters
opts | Decompression options specifying format, etc. |
providerName | Optional full provider name (e.g., "ddn-gzip"). If null, the highest priority provider is selected. |
Returns
A new Decompressor instance.
Throws
CompressionError if no suitable provider is found or if the provider
does not implement decompression.