CodecConverter class
A CodecConverter either encodes or decodes incoming data.
- Inheritance
- Implementers
Constructors
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
-
asByteSink(
Sink< List< sink) → ByteConversionSinkint> > - Ensure a conversion to ByteConversionSink which provides an interface for converters to efficiently transmit byte data.
-
bind(
Stream< List< stream) → Stream<int> >List< 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> bytes) → List<int> -
Encode/Decode a List of bytes.
override
-
fuse<
TT> (Converter< List< other) → Converter<int> , TT>List< int> , TT> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performOneShotConversion(
Sink< List< sink, List<int> >int> bytes) → bool -
Subclasses may override to perform a one-shot optimized conversion of
bytes
to thesink
. -
startChunkedConversion(
Sink< List< sink) → Sink<int> >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