CompressionError if opts.format is neither
CompressionFormat.AUTO_DETECT nor CompressionFormat.LZ4.
(DecompressionOptions opts)Construct a new LZ4 decompressor with the given options.
If opts.format is CompressionFormat.AUTO_DETECT, it is normalised to CompressionFormat.LZ4. Any other format value results in a CompressionError with ErrorCode.INVALID_INPUT.
opts | Decompression options to use for this decompressor. |
CompressionError if opts.format is neither
CompressionFormat.AUTO_DETECT nor CompressionFormat.LZ4.