public interface Compressor
Modifier and Type | Method and Description |
---|---|
byte[] |
compress(byte[] input)
Compresses the input byte array.
|
byte[] |
decompress(byte[] input)
Decompresses a compressed byte array.
|
byte[] compress(byte[] input)
input
- The data to be compressed.byte[] decompress(byte[] input)
input
- A compressed byte array.