public final class Zlib extends Object
| Constructor and Description |
|---|
Zlib(int level,
boolean nowrap) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
deflate(byte[] input,
int level) |
void |
deflate(io.netty.buffer.ByteBuf input,
io.netty.buffer.ByteBuf output,
int level) |
byte[] |
inflate(byte[] input) |
void |
inflate(io.netty.buffer.ByteBuf input,
io.netty.buffer.ByteBuf output) |
void |
inflate(io.netty.buffer.ByteBuf input,
io.netty.buffer.ByteBuf output,
int maxSize) |
public void inflate(io.netty.buffer.ByteBuf input,
io.netty.buffer.ByteBuf output,
int maxSize)
throws DataFormatException
DataFormatExceptionpublic void inflate(io.netty.buffer.ByteBuf input,
io.netty.buffer.ByteBuf output)
throws DataFormatException
DataFormatExceptionpublic byte[] inflate(byte[] input)
throws DataFormatException
DataFormatExceptionpublic void deflate(io.netty.buffer.ByteBuf input,
io.netty.buffer.ByteBuf output,
int level)
public byte[] deflate(byte[] input,
int level)
Copyright © 2020. All rights reserved.