Top Description Interfaces Classes Enums
[default module]

Package io.netty.handler.codec.compression


Encoder and decoder which compresses and decompresses io.netty.buffer.ByteBufs in a compression format such as zlib, gzip, and Snappy.

Interface Summary

Modifier and TypeInterface and Description
public interface
CompressionOptions

CompressionOptions provides compression options for various types of compressor types, like Brotli.

Class Summary

Modifier and TypeClass and Description
public class
public class
BrotliDecoder

Decompresses a ByteBuf encoded with the brotli format.

public class
BrotliEncoder

Compress a ByteBuf with the Brotli compression.

public class
BrotliOptions

BrotliOptions holds Encoder.Parameters for Brotli compression.

pack-priv abstract class
ByteBufChecksum

Checksum implementation which can directly act on a ByteBuf.

pack-priv class
Bzip2BitReader

An bit reader that allows the reading of single bit booleans, bit strings of arbitrary length (up to 32 bits), and bit aligned 32-bit integers.

pack-priv class
Bzip2BitWriter

A bit writer that allows the writing of single bit booleans, unary numbers, bit strings of arbitrary length (up to 32 bits), and bit aligned 32-bit integers.

pack-priv class
Bzip2BlockCompressor

Compresses and writes a single Bzip2 block.

pack-priv class
Bzip2BlockDecompressor

Reads and decompresses a single Bzip2 block.

pack-priv class
Bzip2Constants

Constants for both the Bzip2Encoder and the Bzip2Decoder.

public class
Bzip2Decoder

Uncompresses a ByteBuf encoded with the Bzip2 format.

pack-priv class
Bzip2DivSufSort

DivSufSort suffix array generator.

public class
Bzip2Encoder

Compresses a ByteBuf using the Bzip2 algorithm.

pack-priv class
Bzip2HuffmanAllocator

An in-place, length restricted Canonical Huffman code length allocator.

pack-priv class
Bzip2HuffmanStageDecoder

A decoder for the Bzip2 Huffman coding stage.

pack-priv class
Bzip2HuffmanStageEncoder

An encoder for the Bzip2 Huffman encoding stage.

pack-priv class
Bzip2MoveToFrontTable

A 256 entry Move To Front transform.

pack-priv class
Bzip2MTFAndRLE2StageEncoder

An encoder for the Bzip2 Move To Front Transform and Run-Length Encoding[2] stages.

pack-priv class
Bzip2Rand

Random numbers for decompress Bzip2 blocks.

public class
CompressionException

An EncoderException that is raised when compression failed.

pack-priv class
pack-priv class
Crc32

A CRC32 calculator.

pack-priv class
Crc32c

Implements CRC32-C as defined in: "Optimization of Cyclic Redundancy-CHeck Codes with 24 and 32 Parity Bits", IEEE Transactions on Communications 41(6): 883-892 (1993).

public class
DecompressionException

A DecoderException that is raised when decompression failed.

public class
pack-priv class
pack-priv class
FastLz

Core of FastLZ compression algorithm.

public class
FastLzFrameDecoder

Uncompresses a ByteBuf encoded by FastLzFrameEncoder using the FastLZ algorithm.

public class
FastLzFrameEncoder

Compresses a ByteBuf using the FastLZ algorithm.

public class
public class
JdkZlibDecoder

Decompress a ByteBuf using the inflate algorithm.

public class
JdkZlibEncoder

Compresses a ByteBuf using the deflate algorithm.

public class
public class
JZlibEncoder

Compresses a ByteBuf using the deflate algorithm.

pack-priv class
public class
Lz4FrameDecoder

Uncompresses a ByteBuf encoded with the LZ4 format.

public class
Lz4FrameEncoder

Compresses a ByteBuf using the LZ4 format.

public class
Lz4XXHash32

A special-purpose ByteBufChecksum implementation for use with Lz4FrameEncoder and Lz4FrameDecoder.

public class
LzfDecoder

Uncompresses a ByteBuf encoded with the LZF format.

public class
LzfEncoder

Compresses a ByteBuf using the LZF format.

public class
LzmaFrameEncoder

Compresses a ByteBuf using the LZMA algorithm.

public class
Snappy

Uncompresses an input ByteBuf encoded with Snappy compression into an output ByteBuf.

public class
SnappyFramedDecoder

Deprecated Use SnappyFrameDecoder instead.
public class
SnappyFrameDecoder

Uncompresses a ByteBuf encoded with the Snappy framing format.

public class
SnappyFramedEncoder

Deprecated Use SnappyFrameEncoder instead.
public class
SnappyFrameEncoder

Compresses a ByteBuf using the Snappy framing format.

public class
SnappyOptions

SnappyOptions holds config for Snappy compression.

public class
public class
ZlibCodecFactory

Creates a new ZlibEncoder and a new ZlibDecoder.

public abstract class
ZlibDecoder

Decompresses a ByteBuf using the deflate algorithm.

public abstract class
ZlibEncoder

Compresses a ByteBuf using the deflate algorithm.

pack-priv class
ZlibUtil

Utility methods used by JZlibEncoder and JZlibDecoder.

public class
pack-priv class
public class
ZstdEncoder

Compresses a ByteBuf using the Zstandard algorithm.

public class
ZstdOptions

ZstdOptions holds compressionLevel for Zstd compression.

Enum Summary

Modifier and TypeEnum and Description
public enum
ZlibWrapper

The container file formats that wrap the stream compressed by the DEFLATE algorithm.