Package org.brotli.wrapper.enc
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) boolean
attachDictionary
(ByteBuffer dictionary) (package private) void
destroy()
Releases native resources.protected void
finalize()
(package private) ByteBuffer
(package private) boolean
(package private) boolean
(package private) boolean
(package private) boolean
(package private) ByteBuffer
pull()
(package private) void
push
(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
-