BrotliDecoder class

The BrotliDecoder decoder is used to decompress brotli data.

Inheritance

Constructors

BrotliDecoder({bool ringBufferReallocation = true, bool largeWindow = false, int inputBufferLength = CodecBufferHolder.autoLength, int outputBufferLength = CodecBufferHolder.autoLength})
Construct an BrotliDecoder with the supplied parameters.

Properties

hashCode int
The hash code for this object.
no setterinherited
inputBufferLength int
Length in bytes of the buffer used for input data.
final
largeWindow bool
Flag that determines if "Large Window Brotli" is used. If set to true, then the LZ-Window can be set up to 30-bits but the result will not be RFC7932 compliant. Default: false.
final
outputBufferLength int
Length in bytes of the buffer used for processed output data.
final
ringBufferReallocation bool
Flag the determines if "canny" ring buffer allocation is enabled. Ring buffer is allocated according to window size, despite the real size of content.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asByteSink(Sink<List<int>> sink) ByteConversionSink
Ensure a conversion to ByteConversionSink which provides an interface for converters to efficiently transmit byte data.
inherited
bind(Stream<List<int>> stream) Stream<List<int>>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(List<int> bytes) List<int>
Encode/Decode a List of bytes.
inherited
fuse<TT>(Converter<List<int>, TT> other) Converter<List<int>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performOneShotConversion(Sink<List<int>> sink, List<int> bytes) bool
Subclasses may override to perform a one-shot optimized conversion of bytes to the sink.
inherited
startChunkedConversion(Sink<List<int>> sink) ByteConversionSink
Start a chunked conversion using the options given to the BrotliDecoder constructor.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited