Class EncoderJNI.Wrapper
java.lang.Object
org.brotli.wrapper.enc.EncoderJNI.Wrapper
- Enclosing class:
EncoderJNI
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) booleanattachDictionary(ByteBuffer dictionary) (package private) voiddestroy()Releases native resources.protected voidfinalize()(package private) ByteBuffer(package private) boolean(package private) boolean(package private) boolean(package private) boolean(package private) ByteBufferpull()(package private) voidpush(EncoderJNI.Operation op, int length)
-
Field Details
-
context
protected final long[] context -
inputBuffer
-
fresh
private boolean fresh
-
-
Constructor Details
-
Wrapper
Wrapper(int inputBufferSize, int quality, int lgwin, Encoder.Mode mode) throws IOException - Throws:
IOException
-
-
Method Details
-
attachDictionary
-
push
-
isSuccess
boolean isSuccess() -
hasMoreOutput
boolean hasMoreOutput() -
hasRemainingInput
boolean hasRemainingInput() -
isFinished
boolean isFinished() -
getInputBuffer
ByteBuffer getInputBuffer() -
pull
ByteBuffer pull() -
destroy
void destroy()Releases native resources. -
finalize
-