public class ZstdDictDecompress
extends java.lang.Object
| Constructor and Description |
|---|
ZstdDictDecompress(byte[] dict)
Convenience constructor to create a new dictionary for use with fast decompress
|
ZstdDictDecompress(byte[] dict,
int offset,
int length)
Create a new dictionary for use with fast decompress
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
void |
setFinalize(boolean finalize)
Enable or disable class finalizers
If finalizers are disabled the responsibility fir calling the `close` method is on the consumer.
|
public ZstdDictDecompress(byte[] dict)
dict - buffer containing dictionary to load/parse with exact lengthpublic ZstdDictDecompress(byte[] dict,
int offset,
int length)
dict - buffer containing dictionaryoffset - the offset into the buffer to read fromlength - number of bytes to use from the bufferpublic void setFinalize(boolean finalize)
finalize - default `true` - finalizers are enabledpublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Object