BrotliDecoderSink class final
Chunked decoder sink: feeds each chunk to a BrotliDecoder and emits every available decompressed chunk immediately.
Errors from the decoder are rethrown from add/close and leave the downstream sink open (the caller decides how to report the failure).
Constructors
-
BrotliDecoderSink(BrotliDecodeOptions options, Sink<
List< _sink)int> >
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → BrotliDecodeOptions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
List< int> chunk) → void -
Adds
datato the sink.override -
close(
) → void -
Closes the sink.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited