NetpbmBinaryCodec class final Output and Comparison
A codec that encodes and decodes pixel data as a portable pixmap (Netpbm) image format.
A singleton instance of this class is available as netpbmBinaryCodec.
Properties
- decoder → NetpbmBinaryDecoder
-
Returns the decoder of
this
, converting fromT
toS
.no setteroverride - encoder → NetpbmBinaryEncoder
-
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
Uint8List, Buffer< int> > -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
Uint8List input, {PixelFormat< int, void> ? format}) → Buffer<int> -
Decodes a binary Netpbm image to pixel data.
override
-
encode(
Buffer< int> input, {Iterable<String> comments = const [], NetpbmFormat? format}) → Uint8List -
Encodes pixel data as a binary Netpbm image.
override
-
fuse<
R> (Codec< Uint8List, R> other) → Codec<Buffer< 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