public class NullCompression extends CompressionMethod implements java.io.Serializable
NULL_COMPRESSION
Modifier and Type | Method and Description |
---|---|
int |
compress(byte[] in,
int inOff,
int inLen,
byte[] out,
int outOff)
Returns the data without modification.
|
int |
decompress(byte[] in,
int inOff,
int inLen,
byte[] out,
int outOff)
Returns the data without modification.
|
equals, getDefault, getID, getName, hashCode, toString
public int compress(byte[] in, int inOff, int inLen, byte[] out, int outOff)
compress
in class CompressionMethod
in
- the byte array holding the data to be processedinOff
- the offset indicating the start position within the in byte arrayinLen
- the number of bytes to be processedout
- the byte array for holding the resultoutOff
- the offset indicating the start position within the out byte arraypublic int decompress(byte[] in, int inOff, int inLen, byte[] out, int outOff)
decompress
in class CompressionMethod
in
- the byte array holding the data to be processedinOff
- the offset indicating the start position within the in byte arrayinLen
- the number of bytes to be processedout
- the byte array for holding the resultoutOff
- the offset indicating the start position within the out byte array