PackedBitmapDecoder class final

Decodes a bitmap from a compact (packed) binary format.

A 0 bit represents PixelFormat.zero, and a 1 bit is PixelFormat.max; 32 values are packed into a single byte, with the least significant bit representing the first value. The first two 32-bit words of the input are the width and height of the bitmap, respectively.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<List<int>> stream) Stream<Buffer<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> input, {PixelFormat<int, void> format = abgr8888}) Buffer<int>
Converts input and returns the result of the conversion.
override
fuse<TT>(Converter<Buffer<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
startChunkedConversion(Sink<Buffer<int>> sink) Sink<List<int>>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

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