public class RunLengthCodec extends AbstractByteArrayDecoder
| Modifier and Type | Field and Description |
|---|---|
protected static int |
RUN_LENGTH_EOD |
| Constructor and Description |
|---|
RunLengthCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDecoded(byte[] aEncodedBuffer)
Decode a byte array.
|
static byte[] |
getDecodedRunLength(byte[] aEncodedBuffer) |
getDecodedprotected static final int RUN_LENGTH_EOD
@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[] getDecodedRunLength(@Nullable byte[] aEncodedBuffer)
Copyright © 2014–2015 Philip Helger. All rights reserved.