A Converter converts data from one representation into another.
It is recommended that implementations of Converter
extend this class,
to inherit any further methods that may be added to the class.
- Implements
- Implemented by
Constructors
- Converter()
-
const
Methods
-
bind(
Stream stream) → Stream -
Transform the incoming
stream
's events. -
convert(
S input) → T -
Converts
input
and returns the result of the conversion. -
fuse(
Converter<T> other) → Converter<S> -
Fuses
this
withother
. -
startChunkedConversion(
Sink sink) → ChunkedConversionSink -
Starts a chunked conversion.