Class EncoderJNI.Wrapper
java.lang.Object
com.aayushatharva.brotli4j.encoder.EncoderJNI.Wrapper
- Enclosing class:
EncoderJNI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanattachDictionary(ByteBuffer dictionary) voiddestroy()Releases native resources.booleanbooleanbooleanbooleanpull()voidpush(EncoderJNI.Operation op, int length)
-
Field Details
-
context
protected final long[] context
-
-
Constructor Details
-
Wrapper
- Throws:
IOException
-
-
Method Details
-
attachDictionary
-
push
-
isSuccess
public boolean isSuccess() -
hasMoreOutput
public boolean hasMoreOutput() -
hasRemainingInput
public boolean hasRemainingInput() -
isFinished
public boolean isFinished() -
getInputBuffer
-
pull
-
destroy
public void destroy()Releases native resources.
-