NetpbmAsciiCodec 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 netpbmAsciiCodec.
Properties
- decoder → NetpbmAsciiDecoder
-
Returns the decoder of
this
, converting fromT
toS
.no setteroverride - encoder → NetpbmAsciiEncoder
-
Returns the encoder from
S
toT
.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
String, Buffer< int> > -
Inverts
this
.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
String input, {PixelFormat< int, void> ? format}) → Buffer<int> -
Decodes an ASCII Netpbm image to pixel data.
override
-
encode(
Buffer< int> input, {Iterable<String> comments = const [], NetpbmFormat? format}) → String -
Encodes pixel data as an ASCII Netpbm image.
override
-
fuse<
R> (Codec< String, 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