position

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

Sets the FileStream.position to new.

Return

The ReadWrite stream for chaining operations.

Parameters

new

The new position for the ReadWrite 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.ReadWrite(source)
actual abstract override fun position(new: Long): FileStream.ReadWrite(source)
actual abstract override fun position(new: Long): FileStream.ReadWrite(source)