BrotliEncoderSink class final
Chunked encoder sink: accumulates input and emits the compressed stream on close (Brotli encoding needs the whole block to make decisions).
Constructors
-
BrotliEncoderSink(BrotliEncodeOptions options, Sink<
List< _sink)int> >
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- options → BrotliEncodeOptions
-
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