Method
Read
func Read(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken = default) -> Task<Result<int, StreamError>>
Declaring type: SslStream
Module: System.Networking.Security
Assembly: System.Networking.dll
Source file: SslStream.rvn
Implements InputStream.Read
Reads authenticated plaintext. Zero count is a no-op; positive-count zero means close-notify.
Parameters
| Name | Type | Description |
|---|---|---|
buffer |
Byte[] | |
offset |
Int32 | |
count |
Int32 | |
cancellationToken |
CancellationToken |