lz4cust

package
v4.1.14 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package lz4cust implements goDB's Encoder interface for lz4 (de-)compression of flow data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	// contains filtered or unexported fields
}

Encoder compresses data with the LZ4 algorithm (omitting certain bounds-checks for performance reasons)

func (*Encoder) Close

func (e *Encoder) Close() error

Close will close the encoder and release potentially allocated resources

func (*Encoder) SetLevel

func (e *Encoder) SetLevel(level int)

SetLevel sets / changes the compression level (if supported)

func (*Encoder) Type

func (e *Encoder) Type() encoders.Type

Type will return the type of encoder

type Option

type Option func(*Encoder)

Option sets additional parameters on the Encoder

Jump to

Keyboard shortcuts

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