BrotliCodec class
The BrotliCodec encodes raw bytes to Brotli compressed bytes and decodes Brotli compressed bytes to raw bytes.
Constructors
-
BrotliCodec({List<
int> compoundDictionary = const []}) -
Instantiates a new BrotliCodec.
const
Properties
-
compoundDictionary
→ List<
int> -
final
-
decoder
→ Converter<
List< int> , List<int> > -
Returns the BrotliDecoder.
no setteroverride
-
encoder
→ Converter<
List< int> , List<int> > -
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
List< int> , List<int> > -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
List< int> encoded) → List<int> -
Decodes
encoded
data.inherited -
decodeStream(
Stream< List< data, {Encoding encoding = utf8}) → Future<int> >String> -
Decodes the Brotli-encoded
data
to the corresponding string. -
decodeToString(
List< int> encoded, {Encoding? encoding}) → String -
Decodes the
encoded
Brotli data to the corresponding string. -
encode(
List< int> input) → List<int> -
Encodes
input
.inherited -
fuse<
R> (Codec< List< other) → Codec<int> , R>List< int> , R> -
Fuses
this
withother
.inherited -
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