public final class GzipUtil extends Object
| 构造器和说明 |
|---|
GzipUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
compress(byte[] bytes) |
static ByteArrayOutputStream |
compressDo(byte[] bytes) |
static byte[] |
uncompress(byte[] bytes) |
static ByteArrayOutputStream |
uncompressDo(byte[] bytes) |
public static ByteArrayOutputStream compressDo(byte[] bytes) throws IOException
IOExceptionpublic static byte[] compress(byte[] bytes)
throws IOException
IOExceptionpublic static ByteArrayOutputStream uncompressDo(byte[] bytes) throws IOException
IOExceptionpublic static byte[] uncompress(byte[] bytes)
throws IOException
IOExceptionCopyright © 2023. All rights reserved.