brotli

package
v0.0.0-...-347007d Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 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
	// contains filtered or unexported fields
}

func (*Codec) CompressionCodec

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

func (*Codec) Decode

func (c *Codec) Decode(dst, src []byte) ([]byte, error)

func (*Codec) Encode

func (c *Codec) Encode(dst, src []byte) ([]byte, 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