Closeable

expect fun interface Closeable(source)

A source or destination of data (such as a File) which can be closed.

See also

Inheritors

actual typealias Closeable = java.io.Closeable(source)
actual fun interface Closeable(source)

A source or destination of data (such as a File) which can be closed.

See also

Functions

Link copied to clipboard
expect abstract fun close()

Closes the resource releasing any system resources that may be allocated to this Closeable. Subsequent invocations do nothing.

actual abstract fun close()

Closes the resource releasing any system resources that may be allocated to this Closeable. Subsequent invocations do nothing.