Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BeginRead()

override IAsyncResult System.Net.Security.SslStream.BeginRead ( byte[] buffer,
int offset,
int count,
AsyncCallback? asyncCallback,
object? asyncState )
inlinevirtual

Reimplemented from System.IO.Stream.

Definition at line 798 of file SslStream.cs.

799 {
801 return System.Threading.Tasks.TaskToApm.Begin(ReadAsync(buffer, offset, count, CancellationToken.None), asyncCallback, asyncState);
802 }
override Task< int > ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Definition SslStream.cs:835
static IAsyncResult Begin(Task task, AsyncCallback callback, object state)
Definition TaskToApm.cs:43

References System.Threading.Tasks.TaskToApm.Begin(), System.buffer, System.count, System.Threading.CancellationToken.None, System.offset, System.Net.Security.SslStream.ReadAsync(), and System.Net.Security.SslStream.ThrowIfExceptionalOrNotAuthenticated().

Referenced by System.Net.TlsStream.BeginRead().