public class SnappyCompressor extends Object implements Compressor
| 构造器和说明 |
|---|
SnappyCompressor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
compress(byte[] bytes,
int offset,
int size,
OutputStream out) |
void |
decompress(byte[] bytes,
int offset,
int size,
OutputStream out) |
String |
type() |
public void compress(byte[] bytes,
int offset,
int size,
OutputStream out)
throws IOException
compress 在接口中 CompressorIOExceptionpublic void decompress(byte[] bytes,
int offset,
int size,
OutputStream out)
throws IOException
decompress 在接口中 CompressorIOExceptionCopyright © 2020 Joyqueue Community. All rights reserved.