Method
Write
func Write(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken = default) -> Task<Result<void, StreamError>>
Declaring type: SslStream
Module: System.Networking.Security
Assembly: System.Networking.dll
Source file: SslStream.rvn
Implements OutputStream.Write
Encrypts and writes the complete range. Success does not imply peer receipt.
Parameters
| Name | Type | Description |
|---|---|---|
buffer |
Byte[] | |
offset |
Int32 | |
count |
Int32 | |
cancellationToken |
CancellationToken |
Return value
Task<Result<void, StreamError>>