close

override fun close()(source)

Closes the feed rendering it useless.

close can be called as many times as desired and will not be considered an error if already closed.

After close has been called, any invocation of Decoder.Feed.consume, Encoder.Feed.consume, or doFinal will be considered an error and throw an EncodingException.

See also