public class ZstdDictCompress
extends java.lang.Object
| Constructor and Description |
|---|
ZstdDictCompress(byte[] dict,
int level)
Convenience constructor to create a new dictionary for use with fast compress
|
ZstdDictCompress(byte[] dict,
int offset,
int length,
int level)
Create a new dictionary for use with fast compress
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
public ZstdDictCompress(byte[] dict,
int level)
dict - buffer containing dictionary to load/parse with exact lengthlevel - compression levelpublic ZstdDictCompress(byte[] dict,
int offset,
int length,
int level)
dict - buffer containing dictionaryoffset - the offset into the buffer to read fromlength - number of bytes to use from the bufferlevel - compression level