public static class EncoderJNI.Wrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long[] |
context |
| Constructor and Description |
|---|
Wrapper(int inputBufferSize,
int quality,
int lgwin,
Encoder.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attachDictionary(ByteBuffer dictionary) |
void |
destroy()
Releases native resources.
|
protected void |
finalize() |
ByteBuffer |
getInputBuffer() |
boolean |
hasMoreOutput() |
boolean |
hasRemainingInput() |
boolean |
isFinished() |
boolean |
isSuccess() |
ByteBuffer |
pull() |
void |
push(com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation op,
int length) |
public Wrapper(int inputBufferSize,
int quality,
int lgwin,
Encoder.Mode mode)
throws IOException
IOExceptionpublic boolean attachDictionary(ByteBuffer dictionary)
public void push(com.aayushatharva.brotli4j.encoder.EncoderJNI.Operation op,
int length)
public boolean isSuccess()
public boolean hasMoreOutput()
public boolean hasRemainingInput()
public boolean isFinished()
public ByteBuffer getInputBuffer()
public ByteBuffer pull()
public void destroy()
Copyright © 2024. All rights reserved.