BrotliDecoder class
The BrotliDecoder decoder is used to decompress brotli data.
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< sink) → ByteConversionSinkint> > -
Ensure a conversion to ByteConversionSink which provides an interface
for converters to efficiently transmit byte data.
inherited
-
bind(
Stream< List< stream) → Stream<int> >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< other) → Converter<int> , TT>List< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performOneShotConversion(
Sink< List< sink, List<int> >int> bytes) → bool -
Subclasses may override to perform a one-shot optimized conversion of
bytes
to thesink
.inherited -
startChunkedConversion(
Sink< List< sink) → ByteConversionSinkint> > -
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