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 source) → 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 with other.

startChunkedConversion(Sink sink) → ChunkedConversionSink

Starts a chunked conversion.