Lz4Compressor.this

Construct a new LZ4 compressor 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.

Parameters

optsCompression options to use for this compressor.

Throws

CompressionError if opts.format is neither

CompressionFormat.AUTO_DETECT nor CompressionFormat.LZ4.