use
inline fun <C : EncoderDecoder.Config, T : EncoderDecoder.Feed<C>?, V> T.use(block: (T) -> V): V(source)
Executes the given block function and then closes the Feed by either:
Calling Feed.doFinal if block DID NOT throw an exception and the feed is still open.
Calling Feed.close if block DID throw an exception.