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

◆ BeginRead() [1/2]

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

Definition at line 158 of file HttpRequestStream.cs.

159 {
160 if (System.Net.NetEventSource.Log.IsEnabled())
161 {
162 System.Net.NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset, "BeginRead");
163 }
165 return BeginReadCore(buffer, offset, count, callback, state);
166 }
static void ValidateBufferArguments(byte[] buffer, int offset, int count)
Definition Stream.cs:1044
unsafe IAsyncResult BeginReadCore(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.HttpRequestStream.BeginReadCore(), 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.BeginRead().