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 booleanattachDictionary(java.nio.ByteBuffer dictionary)voiddestroy()Releases native resources.protected voidfinalize()java.nio.ByteBuffergetInputBuffer()DecoderJNI.StatusgetStatus()booleanhasOutput()java.nio.ByteBufferpull()voidpush(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:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
-