Constructors

Link copied to clipboard
protected constructor(config: C)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
abstract inner class Feed : EncoderDecoder.Feed<C>

Data to encode is fed into consume and, as the Encoder.Feed's buffer fills, encoded data is output to the supplied Encoder.OutFeed. This allows for a "lazy" encode, or streaming of encoded data.

Link copied to clipboard
fun interface OutFeed

A callback for returning encoded characters as they are produced by Encoder.Feed.

Functions

Link copied to clipboard

Creates a new Encoder.Feed, outputting encoded data to the supplied Encoder.OutFeed.

Link copied to clipboard
protected abstract fun newEncoderFeedProtected(out: Encoder.OutFeed): Encoder.Feed<C>