public static interface Snappy.SPI
Modifier and Type | Method and Description |
---|---|
int |
compress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset) |
byte[] |
compress(String text) |
int |
maxCompressedLength(int length) |
int |
uncompress(byte[] input,
int inputOffset,
int length,
byte[] output,
int outputOffset) |
int |
uncompress(ByteBuffer compressed,
ByteBuffer uncompressed) |
int uncompress(ByteBuffer compressed, ByteBuffer uncompressed) throws IOException
IOException
int uncompress(byte[] input, int inputOffset, int length, byte[] output, int outputOffset) throws IOException
IOException
int compress(byte[] input, int inputOffset, int length, byte[] output, int outputOffset) throws IOException
IOException
byte[] compress(String text) throws IOException
IOException
int maxCompressedLength(int length)
Copyright © 2011–2019. All rights reserved.