public abstract static class CompressionStrategy.Compressor extends Object
| Constructor and Description | 
|---|
Compressor()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract ByteBuffer | 
compress(ByteBuffer in,
        ByteBuffer out)
Returns a ByteBuffer with compressed contents of in between it's position and limit. 
 | 
public abstract ByteBuffer compress(ByteBuffer in, ByteBuffer out)
out's position and limit
 are not respected and could be discarded.
 Contents of in between it's position and limit are compressed. It's contents, position and limit
 shouldn't be changed in compress() method.
Copyright © 2011–2018. All rights reserved.