public final class ZipUtil extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
compress(String text)
GZIP compress the specified text
|
static String |
decompress(byte[] bytes)
Decompress the specified array according to the GZIP procedure.
|
public static byte[] compress(String text)
text
- Text to compress. Non-null.public static String decompress(byte[] bytes)
bytes
- Bytes to decompress. Non-null.Copyright © 2023 Petroware AS - https://petroware.no