| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final DecoderJNI. | |
| private BrotliDecompressor. |
| Access | Constructor and Description |
|---|---|
| private | BrotliDecompressor(int
desired size of the input buffer in bytes inputBufferSize)Creates a new BrotliDecoder |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Buffer | decompress(Buffer
the input, BufferAllocator Buffer that contains the data to be decompressed.the allocator)BufferAllocator that is used to allocate a new buffer (if needed) to write the
decompressed bytes too.Implements io. Buffer and decompress into a new Buffer that will be
allocated (if needed) from the BufferAllocator.
|
| public boolean | isClosed()
Implements io. true if the decompressor was closed, false otherwise.
|
| public boolean | isFinished()
Implements io. true if the decompressor was finish.
|
| public static Supplier | Returns: the factory.Creates a new factory for |
| public static Supplier | Returns: the factory.desired size of the input buffer in bytes inputBufferSize)Creates a new factory for |
| private Buffer | |
| private static int |
| decoder | back to summary |
|---|---|
| private final DecoderJNI. | |
| state | back to summary |
|---|---|
| private BrotliDecompressor. | |
| BrotliDecompressor | back to summary |
|---|---|
| private BrotliDecompressor(int inputBufferSize) throws IOException Creates a new BrotliDecoder
| |
| close | back to summary |
|---|---|
| public void close() Implements io. Doc from io. Close the decompressor. After this method was called
| |
| decompress | back to summary |
|---|---|
| public Buffer decompress(Buffer input, BufferAllocator allocator) throws DecompressionException Implements io. Doc from io. This method will read from the input isFinished() is false
input
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() Implements io. Doc from io. Return | |
| isFinished | back to summary |
|---|---|
| public boolean isFinished() Implements io. Doc from io. Returns
| |
| newFactory | back to summary |
|---|---|
| public static Supplier Creates a new factory for
| |
| newFactory | back to summary |
|---|---|
| public static Supplier Creates a new factory for
| |
| pull | back to summary |
|---|---|
| private Buffer pull(BufferAllocator alloc) | |
| readBytes | back to summary |
|---|---|
| private static int readBytes(Buffer in, ByteBuffer dest) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BrotliDecompressor. | |
| public static final BrotliDecompressor. | |
| public static final BrotliDecompressor. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BrotliDecompressor. | |
| public static BrotliDecompressor. |
| CLOSED | back to summary |
|---|---|
| public static final BrotliDecompressor. | |
| FINISHED | back to summary |
|---|---|
| public static final BrotliDecompressor. | |
| PROCESSING | back to summary |
|---|---|
| public static final BrotliDecompressor. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static BrotliDecompressor. | |
| values | back to summary |
|---|---|
| public static BrotliDecompressor. | |