| Modifier and Type | Method and Description |
|---|---|
static byte[] |
deflate(byte[] input) |
static byte[] |
deflate(byte[] input,
int start,
int length) |
static DynamicByteArray |
deflate(DynamicByteArray input) |
static int |
deflate(DynamicByteArray input,
DynamicByteArray output)
Compresses the bytes in the input array and places the results in the output array; returns the
compressed byte size.
|
static byte[] |
inflate(byte[] input) |
static byte[] |
inflate(byte[] input,
int start,
int length) |
static DynamicByteArray |
inflate(DynamicByteArray input) |
static int |
inflate(DynamicByteArray input,
DynamicByteArray output)
Decompresses the contents of the given input array and places the results in the
given output array.
|
public static int deflate(DynamicByteArray input, DynamicByteArray output)
public static DynamicByteArray deflate(DynamicByteArray input)
public static byte[] deflate(byte[] input,
int start,
int length)
public static byte[] deflate(byte[] input)
public static int inflate(DynamicByteArray input, DynamicByteArray output) throws java.util.zip.DataFormatException
java.util.zip.DataFormatExceptionpublic static DynamicByteArray inflate(DynamicByteArray input) throws java.util.zip.DataFormatException
java.util.zip.DataFormatExceptionpublic static byte[] inflate(byte[] input,
int start,
int length)
throws java.util.zip.DataFormatException
java.util.zip.DataFormatExceptionpublic static byte[] inflate(byte[] input)
throws java.util.zip.DataFormatException
java.util.zip.DataFormatException