Index

B C D E F G I M N O R S U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

B

BrotliDecoder - Class in org.bluezoo.micula
Event-driven Brotli decoder (RFC 7932).
BrotliDecoder() - Constructor for class org.bluezoo.micula.BrotliDecoder
Creates a decoder with default limits and a no-op handler.
BrotliDefaultHandler - Class in org.bluezoo.micula
Convenience base class with empty BrotliHandler implementations.
BrotliDefaultHandler() - Constructor for class org.bluezoo.micula.BrotliDefaultHandler
Constructs a new default handler.
BrotliEncoder - Class in org.bluezoo.micula
Push-model Brotli encoder.
BrotliEncoder(BrotliSink) - Constructor for class org.bluezoo.micula.BrotliEncoder
Creates an encoder that writes compressed bytes to sink.
BrotliEncoder(BrotliSink, boolean) - Constructor for class org.bluezoo.micula.BrotliEncoder
Creates an encoder.
BrotliException - Exception Class in org.bluezoo.micula
Checked exception for Brotli encoding and decoding errors.
BrotliException(String) - Constructor for exception class org.bluezoo.micula.BrotliException
Creates an exception with the given message.
BrotliException(String, Throwable) - Constructor for exception class org.bluezoo.micula.BrotliException
Creates an exception with the given message and cause.
BrotliHandler - Interface in org.bluezoo.micula
Callback interface for receiving Brotli decoding events.
BrotliLimits - Class in org.bluezoo.micula
Configurable resource limits for Brotli decoding.
BrotliLimits() - Constructor for class org.bluezoo.micula.BrotliLimits
Creates limits with industry-default caps.
BrotliLocator - Interface in org.bluezoo.micula
Reports the current position in a Brotli bitstream during decoding.
BrotliSink - Interface in org.bluezoo.micula
Sink for compressed Brotli output produced by BrotliEncoder or BrotliWriter.
BrotliWriter - Class in org.bluezoo.micula
Convenience helpers that write a complete Brotli stream for a single buffer.

C

ChannelBrotliSink - Class in org.bluezoo.micula
BrotliSink that writes compressed bytes to a WritableByteChannel.
ChannelBrotliSink(WritableByteChannel) - Constructor for class org.bluezoo.micula.ChannelBrotliSink
Creates a sink that writes to the given channel.
close() - Method in class org.bluezoo.micula.BrotliDecoder
Marks end of compressed input and finishes decoding.
close() - Method in class org.bluezoo.micula.BrotliEncoder
Finishes the stream (writes the final empty last metablock if needed).
compressed(ByteBuffer) - Method in interface org.bluezoo.micula.BrotliSink
Receives a chunk of compressed bytes.
compressed(ByteBuffer) - Method in class org.bluezoo.micula.ChannelBrotliSink
 
COMPRESSED - Enum constant in enum class org.bluezoo.micula.MetablockKind
Compressed metablock with Huffman-coded commands.
content(ByteBuffer, boolean) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
content(ByteBuffer, boolean) - Method in interface org.bluezoo.micula.BrotliHandler
Delivers reconstructed uncompressed output.
copy(int, int) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
copy(int, int) - Method in interface org.bluezoo.micula.BrotliHandler
Notifies of a backward copy when BrotliHandler.needsCommands() is true.

D

Decoding - Search tag in package org.bluezoo.micula
Section
Design - Search tag in package org.bluezoo.micula
Section
dictionary(int, int, int) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
dictionary(int, int, int) - Method in interface org.bluezoo.micula.BrotliHandler
Notifies of a static-dictionary reference when BrotliHandler.needsCommands() is true.
disableAllLimits() - Method in class org.bluezoo.micula.BrotliLimits
Disables all resource limits.

E

Encoding - Search tag in package org.bluezoo.micula
Section
endMetablock() - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
endMetablock() - Method in interface org.bluezoo.micula.BrotliHandler
Indicates the end of the current metablock.
endStream() - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
endStream() - Method in interface org.bluezoo.micula.BrotliHandler
Indicates the end of the Brotli stream.

F

flush() - Method in class org.bluezoo.micula.BrotliEncoder
Forces a metablock boundary, flushing any buffered input as a non-last metablock.

G

getBitOffset() - Method in interface org.bluezoo.micula.BrotliLocator
Returns how many bits of the current byte have already been consumed (0โ€“7).
getByteOffset() - Method in interface org.bluezoo.micula.BrotliLocator
Returns the number of complete bytes consumed from the compressed stream so far (not counting bits still in the bit accumulator that belong to a partially-read byte).
getMaxMetablockLength() - Method in class org.bluezoo.micula.BrotliLimits
Returns the maximum metablock length.
getMaxMetadataLength() - Method in class org.bluezoo.micula.BrotliLimits
Returns the maximum metadata length.
getMaxTotalOutput() - Method in class org.bluezoo.micula.BrotliLimits
Returns the maximum total decompressed output.
getMaxWindowBits() - Method in class org.bluezoo.micula.BrotliLimits
Returns the maximum allowed WBITS.
getMetablockIndex() - Method in interface org.bluezoo.micula.BrotliLocator
Returns the zero-based index of the metablock currently being decoded.

I

insert(ByteBuffer) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
insert(ByteBuffer) - Method in interface org.bluezoo.micula.BrotliHandler
Notifies of an insert (literal run) when BrotliHandler.needsCommands() is true.
isLimitsEnabled() - Method in class org.bluezoo.micula.BrotliLimits
Returns whether limits are enforced.

M

MetablockKind - Enum Class in org.bluezoo.micula
Kind of metablock in a Brotli stream (RFC 7932 ยง9.2).
metadata(ByteBuffer) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
metadata(ByteBuffer) - Method in interface org.bluezoo.micula.BrotliHandler
Delivers metadata metablock bytes (not part of the sliding window or reconstructed content).
METADATA - Enum constant in enum class org.bluezoo.micula.MetablockKind
Metadata metablock: bytes not added to the window or output.

N

needsCommands() - Method in interface org.bluezoo.micula.BrotliHandler

O

org.bluezoo.micula - module org.bluezoo.micula
Event-driven Brotli encoder and decoder (RFC 7932).
org.bluezoo.micula - package org.bluezoo.micula
Event-driven Brotli codec for Java (RFC 7932).

R

receive(ByteBuffer) - Method in class org.bluezoo.micula.BrotliDecoder
Feeds the next chunk of compressed data.
receive(ByteBuffer) - Method in class org.bluezoo.micula.BrotliEncoder
Encodes the next chunk of uncompressed input.
reset() - Method in class org.bluezoo.micula.BrotliDecoder
Resets the decoder for a new stream.
reset() - Method in class org.bluezoo.micula.BrotliEncoder
Resets encoder state for a new stream (same sink).
RFC_MAX_METABLOCK_LENGTH - Static variable in class org.bluezoo.micula.BrotliLimits
RFC maximum metablock output length (16 MiB).
RFC_MAX_WINDOW_BITS - Static variable in class org.bluezoo.micula.BrotliLimits
RFC maximum window bits.

S

setHandler(BrotliHandler) - Method in class org.bluezoo.micula.BrotliDecoder
Sets the event handler.
setLimits(BrotliLimits) - Method in class org.bluezoo.micula.BrotliDecoder
Sets resource limits.
setLocator(BrotliLocator) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
setLocator(BrotliLocator) - Method in interface org.bluezoo.micula.BrotliHandler
Receives a locator for the current decode position.
setMaxMetablockLength(int) - Method in class org.bluezoo.micula.BrotliLimits
Sets the maximum metablock length (MLEN).
setMaxMetadataLength(int) - Method in class org.bluezoo.micula.BrotliLimits
Sets the maximum metadata metablock length.
setMaxTotalOutput(long) - Method in class org.bluezoo.micula.BrotliLimits
Sets the maximum total decompressed output in bytes.
setMaxWindowBits(int) - Method in class org.bluezoo.micula.BrotliLimits
Sets the maximum allowed WBITS (10โ€“24).
setQuality(int) - Method in class org.bluezoo.micula.BrotliEncoder
Sets compression quality.
setWindowBits(int) - Method in class org.bluezoo.micula.BrotliEncoder
Sets window bits (10โ€“24).
startMetablock(int, boolean, MetablockKind) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
startMetablock(int, boolean, MetablockKind) - Method in interface org.bluezoo.micula.BrotliHandler
Indicates the start of a metablock.

U

UNCOMPRESSED - Enum constant in enum class org.bluezoo.micula.MetablockKind
Uncompressed metablock: raw literal bytes on a byte boundary.

V

valueOf(String) - Static method in enum class org.bluezoo.micula.MetablockKind
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.bluezoo.micula.MetablockKind
Returns an array containing the constants of this enum class, in the order they are declared.

W

windowBits(int) - Method in class org.bluezoo.micula.BrotliDefaultHandler
 
windowBits(int) - Method in interface org.bluezoo.micula.BrotliHandler
Notifies of the stream window bits (WBITS) after the stream header.
write(ByteBuffer, BrotliSink, int) - Static method in class org.bluezoo.micula.BrotliWriter
Compresses input at the given quality with default window bits (22).
write(ByteBuffer, BrotliSink, int, int) - Static method in class org.bluezoo.micula.BrotliWriter
Compresses input at the given quality into sink.
writeUncompressed(ByteBuffer, BrotliSink) - Static method in class org.bluezoo.micula.BrotliWriter
Compresses input at quality 0 with default window bits (22).
writeUncompressed(ByteBuffer, BrotliSink, int) - Static method in class org.bluezoo.micula.BrotliWriter
Compresses input at quality 0 into sink.
B C D E F G I M N O R S U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form