close

expect abstract override fun close()(source)

Closes the FileStream resource, pushing all potentially buffered data to the underlying File for which this stream belongs. Subsequent invocations do nothing.

See also

Throws

If an I/O error occurs.

actual abstract override 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 override fun close()(source)
actual abstract override 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.