public static class HCompressor.IntHCompressor extends HCompressor<IntBuffer>
HCompressor.ByteHCompressor, HCompressor.DoubleHCompressor, HCompressor.FloatHCompressor, HCompressor.IntHCompressor, HCompressor.ShortHCompressor
Constructor and Description |
---|
IntHCompressor(HCompressorOption options) |
Modifier and Type | Method and Description |
---|---|
boolean |
compress(IntBuffer buffer,
ByteBuffer compressed)
compress the buffer into the byte buffer.
|
void |
decompress(ByteBuffer compressed,
IntBuffer buffer)
Decompress the byte buffer and restore the buffer from it, again enough
space must already be allocated.
|
compress, decompress
public IntHCompressor(HCompressorOption options)
public boolean compress(IntBuffer buffer, ByteBuffer compressed)
ICompressor
buffer
- the buffer to compress.compressed
- the compressed datapublic void decompress(ByteBuffer compressed, IntBuffer buffer)
ICompressor
compressed
- the compressed databuffer
- the buffer to fill with the uncompressed data.Copyright © 1996–2016 nom-tam-fits. All rights reserved.