public class FlateCodec extends AbstractByteArrayCodec
| Constructor and Description |
|---|
FlateCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDecoded(byte[] aEncodedBuffer)
Decode a byte array.
|
static byte[] |
getDecodedFlate(byte[] aEncodedBuffer) |
byte[] |
getEncoded(byte[] aBuffer)
Encode a byte array.
|
static byte[] |
getEncodedFlate(byte[] aBuffer) |
static boolean |
isZlibHead(byte[] buf) |
getEncodedgetDecodedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDecodedpublic static boolean isZlibHead(@Nonnull byte[] buf)
@Nullable @ReturnsMutableCopy public static byte[] getDecodedFlate(@Nullable byte[] aEncodedBuffer)
@Nullable @ReturnsMutableCopy public byte[] getDecoded(@Nullable byte[] aEncodedBuffer)
IByteArrayDecoderaEncodedBuffer - The byte array to be decoded. May not be null.null if the parameter was
null.@Nullable @ReturnsMutableCopy public static byte[] getEncodedFlate(@Nullable byte[] aBuffer)
@Nullable @ReturnsMutableCopy public byte[] getEncoded(@Nullable byte[] aBuffer)
IByteArrayEncoderaBuffer - The byte array to be encoded. May be null.null if the parameter was
null.Copyright © 2014–2015 Philip Helger. All rights reserved.