CodecConverter class

A CodecConverter either encodes or decodes incoming data.

Inheritance
Implementers

Constructors

CodecConverter()

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<int>> sink) ByteConversionSink
Ensure a conversion to ByteConversionSink which provides an interface for converters to efficiently transmit byte data.
bind(Stream<List<int>> stream) Stream<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<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
performOneShotConversion(Sink<List<int>> sink, List<int> bytes) bool
Subclasses may override to perform a one-shot optimized conversion of bytes to the sink.
startChunkedConversion(Sink<List<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