Package-level declarations

Types

Link copied to clipboard
interface Closeable

A portable Guest resource. Closing is idempotent and does not implicitly commit writes.

Link copied to clipboard
open class IOException(message: String?, cause: Throwable? = null) : Exception

An ordinary failure of an input/output operation in the current computer.

Link copied to clipboard
object Stderr

Functions

Link copied to clipboard
inline fun <T : Closeable, R> T.use(block: (T) -> R): R

Closes after the block. A body failure takes precedence over a cleanup failure.