public class ZipUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BUFFER_SIZE |
| 构造器和说明 |
|---|
ZipUtil() |
public static final int BUFFER_SIZE
public static byte[] gzip(byte[] buffer)
buffer - 被压缩的字节流RuntimeException - IO异常public static byte[] unGzip(byte[] buffer)
buffer - 被压缩的字节流RuntimeException - IO异常public static byte[] unGzip(byte[] buffer,
int readBufferSize)
buffer - 被压缩的字节流readBufferSize - 一次读取的字节大小RuntimeException - IO异常Copyright © 2023. All rights reserved.