public class NullCODEC extends AbstractCODEC<int[]>
Constructor and Description |
---|
NullCODEC() |
Modifier and Type | Method and Description |
---|---|
int[] |
co(int[] in,
int offset,
int len)
Compress.
|
int |
dec(int[] in,
int[] out,
int outOffset,
int len)
Decompress.
|
boolean |
isIntegrated()
Returns if the CODEC is integrated, i.e.
|
add, reset, stats
public int[] co(int[] in, int offset, int len)
CODEC
in
- array to be compressed.offset
- offset of inlen
- number of integers to be compressedpublic int dec(int[] in, int[] out, int outOffset, int len)
CODEC
in
- compressed representation of an array.out
- array where to write the compressed.outOffset
- offset of outlen
- number of integers that need to be decompressedpublic boolean isIntegrated()
CODEC
Copyright © 2016. All rights reserved.