position

expect abstract override fun position(new: Long): FileStream.Write(source)

Sets the FileStream.position to new.

NOTE: If isAppending is true, this is silently ignored as data is always written to the end of the File.

Return

The Write stream for chaining operations.

Parameters

new

The new position for the Write stream.

Throws

IllegalArgumentException

If new is less than 0.

If an I/O error occurs, or the stream is closed.

actual abstract override fun position(new: Long): FileStream.Write(source)
actual abstract override fun position(new: Long): FileStream.Write(source)
actual abstract override fun position(new: Long): FileStream.Write(source)