| Modifier and Type | Field and Description |
|---|---|
| public static final int | DEFLATE
The DEFLATE compression algorithm is used. |
| public static final int | LZF
The LZF compression algorithm is used |
| public static final int | NO
No compression is used. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the end positionthe input data in, int the offset at the input array inPos, int the number of bytes to compress inLen, byte[] the output area out, int the offset at the output array outPos)Compress a number of bytes. |
| public void | expand(byte[]
the compressed data in, int the offset at the input array inPos, int the number of bytes to read inLen, byte[] the output area out, int the offset at the output array outPos, int the size of the uncompressed data outLen)Expand a number of compressed bytes. |
| public int | |
| public void |
| DEFLATE | back to summary |
|---|---|
| public static final int DEFLATE The DEFLATE compression algorithm is used. | |
| LZF | back to summary |
|---|---|
| public static final int LZF The LZF compression algorithm is used | |
| NO | back to summary |
|---|---|
| public static final int NO No compression is used. | |
| compress | back to summary |
|---|---|
| public int compress(byte[] in, int inPos, int inLen, byte[] out, int outPos) Compress a number of bytes.
| |
| expand | back to summary |
|---|---|
| public void expand(byte[] in, int inPos, int inLen, byte[] out, int outPos, int outLen) Expand a number of compressed bytes.
| |
| getAlgorithm | back to summary |
|---|---|
| public int getAlgorithm() Get the compression algorithm type.
| |
| setOptions | back to summary |
|---|---|
| public void setOptions(String options) Set the compression options. This may include settings for higher performance but less compression.
| |