lz4

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Code = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type CompressionCodec

type CompressionCodec struct{}

func NewCompressionCodec

func NewCompressionCodec() CompressionCodec

func (CompressionCodec) Code

func (c CompressionCodec) Code() int8

Code implements the kafka.CompressionCodec interface.

func (CompressionCodec) Decode

func (c CompressionCodec) Decode(src []byte) ([]byte, error)

Decode implements the kafka.CompressionCodec interface.

func (CompressionCodec) Encode

func (c CompressionCodec) Encode(src []byte) ([]byte, error)

Encode implements the kafka.CompressionCodec interface.

Jump to

Keyboard shortcuts

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