recordioflate

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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.

Index

Constants

View Source
const Name = "flate"

Name is the registered name of the flate transformer.

Variables

This section is empty.

Functions

func FlateUncompress

func FlateUncompress(scratch []byte, in [][]byte) ([]byte, error)

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.

func Init

func Init()

Init installs the zstd transformer in recordio. It can be called multiple times, but 2nd and later calls have no effect.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL