public class Compressor
extends java.lang.Object
| Constructor and Description |
|---|
Compressor() |
| Modifier and Type | Method and Description |
|---|---|
static java.nio.ByteBuffer |
deflate(byte[] bytes,
int compressionLevel) |
static java.nio.ByteBuffer |
deflate(byte[] bytes,
int offset,
int size,
int compressionLevel) |
static java.nio.ByteBuffer |
inflate(byte[] bytes) |
@NonNull
public static java.nio.ByteBuffer deflate(@NonNull
byte[] bytes,
int offset,
int size,
int compressionLevel)
throws java.io.IOException
java.io.IOException@NonNull
public static java.nio.ByteBuffer deflate(@NonNull
byte[] bytes,
int compressionLevel)
throws java.io.IOException
java.io.IOException@NonNull
public static java.nio.ByteBuffer inflate(@NonNull
byte[] bytes)
throws java.io.IOException
java.io.IOException