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

◆ BeginWrite() [1/2]

override IAsyncResult System.Net.HttpResponseStream.BeginWrite ( byte[] buffer,
int offset,
int count,
AsyncCallback callback,
object state )
inline

Definition at line 102 of file HttpResponseStream.cs.

103 {
105 if (System.Net.NetEventSource.Log.IsEnabled())
106 {
107 System.Net.NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset, "BeginWrite");
108 }
109 return BeginWriteCore(buffer, offset, count, callback, state);
110 }
static void ValidateBufferArguments(byte[] buffer, int offset, int count)
Definition Stream.cs:1044
unsafe IAsyncResult BeginWriteCore(byte[] buffer, int offset, int size, AsyncCallback callback, object state)
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)

References System.Net.HttpResponseStream.BeginWriteCore(), System.buffer, System.count, System.Net.NetEventSource.Info(), System.Net.NetEventSource.Log, System.offset, System.state, and System.IO.Stream.ValidateBufferArguments().

Referenced by System.Net.WebSockets.WebSocketHttpListenerDuplexStream.BeginWrite(), and System.Net.HttpListenerResponse.Close().