public final class ZLibTools
extends java.lang.Object
Constructor and Description |
---|
ZLibTools() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
compress(byte[] a_data)
Compresses the specified data with ZLib in the best compression mode.
|
static byte[] |
decompress(byte[] a_data)
Decompresses the specified data.
|
public static byte[] compress(byte[] a_data)
a_data
- The data to compress.public static byte[] decompress(byte[] a_data)
a_data
- The ZLib compressed data (whole block, not only parts).Copyright © 2023. All rights reserved.