public class FlateCodec extends AbstractCodec
| Constructor and Description |
|---|
FlateCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] aEncodedBuffer)
Decode a byte array.
|
static byte[] |
decodeFlate(byte[] aEncodedBuffer) |
byte[] |
encode(byte[] aBuffer)
Encode a byte array.
|
static byte[] |
encodeFlate(byte[] aBuffer) |
protected static boolean |
isZlibHead(byte[] buf) |
decode, encodeprotected static boolean isZlibHead(@Nonnull byte[] buf)
@Nullable public byte[] decode(@Nullable byte[] aEncodedBuffer)
IByteArrayDecoderaEncodedBuffer - The byte array to be decoded. May not be null.null if the parameter was
null.@Nullable public byte[] encode(@Nullable byte[] aBuffer)
IByteArrayEncoderaBuffer - The byte array to be encoded. May be null.null if the parameter was
null.Copyright © 2006–2015 phloc systems. All rights reserved.