Package recordioflate provides the "flate" transformer. It implements flate compression and decompression. To use:
- Call recordioflate.Init() when the process starts.
- Add "flate" to WriterV2Opts.Transformer. It will compress blocks using
flate default compression level. Setting "flate 3" will enable flate compression level 3.
const Name = "flate"
Name is the registered name of the flate transformer.
FlateUncompress is the uncompress transformer for flate. This is exposed only to read legacy files. For regular applications, adding "flate" to ScannerOpts.Transformers will enable flate.
Init installs the zstd transformer in recordio. It can be called multiple times, but 2nd and later calls have no effect.