Method
Write
func Write(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken = default) -> Task<Result<void, StreamError>>
Declaring type: FileOutputStream
Module: System.IO
Assembly: System.Runtime.dll
Source file: FileOutputStream.rvn
Implements OutputStream.Write
Completes the range inline with the current blocking provider; partial failures are not rolled back.
Parameters
| Name | Type | Description |
|---|---|---|
buffer |
Byte[] | |
offset |
Int32 | |
count |
Int32 | |
cancellationToken |
CancellationToken |
Return value
Task<Result<void, StreamError>>