@ParametersAreNonnullByDefault public class SnappyDataCompressor extends Object implements DataCompressor
DataCompressor
.Constructor and Description |
---|
SnappyDataCompressor() |
Modifier and Type | Method and Description |
---|---|
byte[] |
compress(byte[] buffer) |
InputStreamSource |
compress(InputStreamSource uncompressed) |
byte[] |
uncompress(byte[] buffer) |
InputStreamSource |
uncompress(InputStreamSource compressed) |
public InputStreamSource uncompress(InputStreamSource compressed)
uncompress
in interface DataCompressor
public InputStreamSource compress(InputStreamSource uncompressed)
compress
in interface DataCompressor
public byte[] uncompress(byte[] buffer)
uncompress
in interface DataCompressor
public byte[] compress(byte[] buffer)
compress
in interface DataCompressor
Copyright © 2003–2021 Atlassian. All rights reserved.