brotli

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package brotli implements the BROTLI parquet compression codec.

Index

Constants

View Source
const (
	DefaultQuality = 0
	DefaultLGWin   = 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct {
	// Quality controls the compression-speed vs compression-density trade-offs.
	// The higher the quality, the slower the compression. Range is 0 to 11.
	Quality int
	// LGWin is the base 2 logarithm of the sliding window size.
	// Range is 10 to 24. 0 indicates automatic configuration based on Quality.
	LGWin int
}

func (*Codec) CompressionCodec

func (c *Codec) CompressionCodec() format.CompressionCodec

func (*Codec) NewReader

func (c *Codec) NewReader(r io.Reader) (compress.Reader, error)

func (*Codec) NewWriter

func (c *Codec) NewWriter(w io.Writer) (compress.Writer, error)

func (*Codec) String

func (c *Codec) String() string

Jump to

Keyboard shortcuts

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