Class DecoderJNI.Wrapper
- java.lang.Object
-
- com.aayushatharva.brotli4j.decoder.DecoderJNI.Wrapper
-
- Enclosing class:
- DecoderJNI
public static class DecoderJNI.Wrapper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Wrapper(int inputBufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
attachDictionary(java.nio.ByteBuffer dictionary)
void
destroy()
Releases native resources.protected void
finalize()
java.nio.ByteBuffer
getInputBuffer()
DecoderJNI.Status
getStatus()
boolean
hasOutput()
java.nio.ByteBuffer
pull()
void
push(int length)
-
-
-
Method Detail
-
attachDictionary
public boolean attachDictionary(java.nio.ByteBuffer dictionary)
-
push
public void push(int length)
-
getStatus
public DecoderJNI.Status getStatus()
-
getInputBuffer
public java.nio.ByteBuffer getInputBuffer()
-
hasOutput
public boolean hasOutput()
-
pull
public java.nio.ByteBuffer pull()
-
destroy
public void destroy()
Releases native resources.
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
-