public class DCTCodec extends Object implements IByteArrayDecoder
Constructor and Description |
---|
DCTCodec() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen)
Decode a byte array.
|
static byte[] |
getDecodedDCT(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDecoded, getDecoded, getDecodedLength, getMaximumDecodedLength
@Nullable @ReturnsMutableCopy public byte[] getDecoded(@Nullable byte[] aEncodedBuffer, @Nonnegative int nOfs, @Nonnegative int nLen)
IByteArrayDecoder
getDecoded
in interface IByteArrayDecoder
aEncodedBuffer
- The byte array to be decoded. May be null
.nOfs
- Offset into the byte array to start from.nLen
- Number of bytes starting from offset to consider.null
if the parameter was
null
.@Nullable @ReturnsMutableCopy public static byte[] getDecodedDCT(@Nullable byte[] aEncodedBuffer, @Nonnegative int nOfs, @Nonnegative int nLen)
Copyright © 2014–2019 Philip Helger. All rights reserved.