consume

fun consume(input: Byte)(source)

Updates the Encoder.Feed with a new byte to encode.

Throws

If isClosed is true, or the Feed is configured to reject something, such as UTF-8 byte to text transformations rejecting invalid byte sequences.