| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private ZstdDirectBufferDecompressingStreamNoFinalizer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | close()
Implements java. |
| protected void | finalize()
Overrides java. |
| public synchronized boolean | |
| public synchronized int | |
| public static int | |
| protected ByteBuffer | Returns: either the current buffer (but refilled and flipped if there was new content) or a new buffer.current buffer toRefill)Override this method in case the byte buffer passed to the constructor might not contain the full compressed stream |
| public synchronized ZstdDirectBufferDecompressingStream | |
| public synchronized ZstdDirectBufferDecompressingStream | |
| public void | setFinalize(boolean
default `true` - finalizers are enabled finalize)Enable or disable class finalizers If finalizers are disabled the responsibility fir calling the `close` method is on the consumer. |
| public ZstdDirectBufferDecompressingStream |
| finalize | back to summary |
|---|---|
| private boolean finalize | |
| inner | back to summary |
|---|---|
| private ZstdDirectBufferDecompressingStreamNoFinalizer inner | |
| ZstdDirectBufferDecompressingStream | back to summary |
|---|---|
| public ZstdDirectBufferDecompressingStream(ByteBuffer source) | |
| close | back to summary |
|---|---|
| public synchronized void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| hasRemaining | back to summary |
|---|---|
| public synchronized boolean hasRemaining() | |
| read | back to summary |
|---|---|
| public synchronized int read(ByteBuffer target) throws IOException | |
| recommendedTargetBufferSize | back to summary |
|---|---|
| public static int recommendedTargetBufferSize() | |
| refill | back to summary |
|---|---|
| protected ByteBuffer refill(ByteBuffer toRefill) Override this method in case the byte buffer passed to the constructor might not contain the full compressed stream
| |
| setDict | back to summary |
|---|---|
| public synchronized ZstdDirectBufferDecompressingStream setDict(byte[] dict) throws IOException | |
| setDict | back to summary |
|---|---|
| public synchronized ZstdDirectBufferDecompressingStream setDict(ZstdDictDecompress dict) throws IOException | |
| setFinalize | back to summary |
|---|---|
| public void setFinalize(boolean finalize) Enable or disable class finalizers If finalizers are disabled the responsibility fir calling the `close` method is on the consumer.
| |
| setLongMax | back to summary |
|---|---|
| public ZstdDirectBufferDecompressingStream setLongMax(int windowLogMax) throws IOException | |