| Access | Constructor and Description |
|---|---|
| public | ZstdDictCompress(byte[]
buffer containing dictionary to load/parse with exact length dict, int compression level level)Convenience constructor to create a new dictionary for use with fast compress |
| public | ZstdDictCompress(byte[]
buffer containing dictionary dict, int the offset into the buffer to read from offset, int number of bytes to use from the buffer length, int compression level level)Create a new dictionary for use with fast compress |
| public | ZstdDictCompress(ByteBuffer
Direct ByteBuffer containing dictionary using position and limit to define range in buffer. dict, int compression level level)Create a new dictionary for use with fast compress. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private native void | |
| private native void | |
| private native void | |
| pack-priv int |
| ZstdDictCompress | back to summary |
|---|---|
| public ZstdDictCompress(byte[] dict, int level) Convenience constructor to create a new dictionary for use with fast compress
| |
| ZstdDictCompress | back to summary |
|---|---|
| public ZstdDictCompress(byte[] dict, int offset, int length, int level) Create a new dictionary for use with fast compress
| |
| ZstdDictCompress | back to summary |
|---|---|
| public ZstdDictCompress(ByteBuffer dict, int level) Create a new dictionary for use with fast compress. The provided bytebuffer is available for reuse when the method returns.
| |
| doClose | back to summary |
|---|---|
| pack-priv void doClose() Implements abstract com.
| |
| free | back to summary |
|---|---|
| private native void free() | |
| init | back to summary |
|---|---|
| private native void init(byte[] dict, int dict_offset, int dict_size, int level) | |
| initDirect | back to summary |
|---|---|
| private native void initDirect(ByteBuffer dict, int dict_offset, int dict_size, int level) | |
| level | back to summary |
|---|---|
| pack-priv int level() | |