public class ZstdDictDecompress
extends java.lang.Object
implements java.io.Closeable
| 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() |
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 close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable