Class DecoderJNI.Wrapper
java.lang.Object
org.brotli.wrapper.dec.DecoderJNI.Wrapper
- Enclosing class:
DecoderJNI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long[]private booleanprivate final ByteBufferprivate DecoderJNI.Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanattachDictionary(ByteBuffer dictionary) voiddestroy()Releases native resources.protected voidfinalize()booleanprivate voidpull()voidpush(int length)
-
Field Details
-
context
private final long[] context -
inputBuffer
-
lastStatus
-
fresh
private boolean fresh
-
-
Constructor Details
-
Wrapper
- Throws:
IOException
-
-
Method Details
-
attachDictionary
-
push
public void push(int length) -
parseStatus
private void parseStatus() -
getStatus
-
getInputBuffer
-
hasOutput
public boolean hasOutput() -
pull
-
destroy
public void destroy()Releases native resources. -
finalize
-