| Modifier and Type | Method and Description |
|---|---|
static byte[] |
unzip(byte[] input)
解压数据
|
static byte[] |
zip(byte[] input)
使用默认压缩级别压缩数据
|
static byte[] |
zip(byte[] input,
int level)
使用指定压缩级别压缩数据
|
public static byte[] zip(@Nullable byte[] input) throws IOException
input - 输入level - 压缩级别IOException - 发生 I/O 错误时抛出public static byte[] zip(@Nullable byte[] input, int level) throws IOException
input - 输入level - 压缩级别IOException - 发生 I/O 错误时抛出@CheckForNull public static byte[] unzip(@Nullable byte[] input) throws IOException
input - 输入IOException - 发生 I/O 错误时抛出Copyright © 2026. All rights reserved.