close

expect abstract fun close()(source)

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

See also

Throws

If an I/O error occurs.

actual abstract fun close()(source)

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

See also

Throws

If an I/O error occurs.