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

◆ BeginWrite()

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

Reimplemented from System.IO.Stream.

Definition at line 810 of file SslStream.cs.

811 {
813 return System.Threading.Tasks.TaskToApm.Begin(WriteAsync(buffer, offset, count, CancellationToken.None), asyncCallback, asyncState);
814 }
override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Definition SslStream.cs:822
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.ThrowIfExceptionalOrNotAuthenticated(), and System.Net.Security.SslStream.WriteAsync().

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