接口 | 说明 |
---|---|
CompressionOptions |
CompressionOptions provides compression options for
various types of compressor types, like Brotli. |
类 | 说明 |
---|---|
Brotli | |
BrotliDecoder |
Decompresses a
ByteBuf encoded with the brotli format. |
BrotliEncoder |
Compress a
ByteBuf with the Brotli compression. |
BrotliOptions |
BrotliOptions holds Encoder.Parameters for
Brotli compression. |
Bzip2Decoder |
Uncompresses a
ByteBuf encoded with the Bzip2 format. |
Bzip2Encoder |
Compresses a
ByteBuf using the Bzip2 algorithm. |
DeflateOptions |
DeflateOptions holds DeflateOptions.compressionLevel() ,
DeflateOptions.memLevel() and DeflateOptions.windowBits() for Deflate compression. |
FastLzFrameDecoder |
Uncompresses a
ByteBuf encoded by FastLzFrameEncoder using the FastLZ algorithm. |
FastLzFrameEncoder |
Compresses a
ByteBuf using the FastLZ algorithm. |
GzipOptions |
GzipOptions holds DeflateOptions.compressionLevel() ,
DeflateOptions.memLevel() and DeflateOptions.windowBits() for Gzip compression. |
JdkZlibDecoder |
Decompress a
ByteBuf using the inflate algorithm. |
JdkZlibEncoder |
Compresses a
ByteBuf using the deflate algorithm. |
JZlibDecoder | |
JZlibEncoder |
Compresses a
ByteBuf using the deflate algorithm. |
Lz4FrameDecoder |
Uncompresses a
ByteBuf encoded with the LZ4 format. |
Lz4FrameEncoder |
Compresses a
ByteBuf using the LZ4 format. |
Lz4XXHash32 | |
LzfDecoder |
Uncompresses a
ByteBuf encoded with the LZF format. |
LzfEncoder |
Compresses a
ByteBuf using the LZF format. |
LzmaFrameEncoder |
Compresses a
ByteBuf using the LZMA algorithm. |
Snappy | |
SnappyFramedDecoder | 已过时
Use
SnappyFrameDecoder instead. |
SnappyFrameDecoder |
Uncompresses a
ByteBuf encoded with the Snappy framing format. |
SnappyFramedEncoder | 已过时
Use
SnappyFrameEncoder instead. |
SnappyFrameEncoder |
Compresses a
ByteBuf using the Snappy framing format. |
SnappyOptions |
SnappyOptions holds config for
Snappy compression. |
StandardCompressionOptions | |
ZlibCodecFactory |
Creates a new
ZlibEncoder and a new ZlibDecoder . |
ZlibDecoder |
Decompresses a
ByteBuf using the deflate algorithm. |
ZlibEncoder |
Compresses a
ByteBuf using the deflate algorithm. |
Zstd | |
ZstdDecoder |
Decompresses a compressed block
ByteBuf using the Zstandard algorithm. |
ZstdEncoder |
Compresses a
ByteBuf using the Zstandard algorithm. |
ZstdOptions |
ZstdOptions holds compressionLevel for
Zstd compression. |
枚举 | 说明 |
---|---|
ZlibWrapper |
The container file formats that wrap the stream compressed by the DEFLATE
algorithm.
|
异常错误 | 说明 |
---|---|
CompressionException |
An
EncoderException that is raised when compression failed. |
DecompressionException |
A
DecoderException that is raised when decompression failed. |