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

◆ Write() [1/2]

override void System.Net.HttpResponseStream.Write ( byte[] buffer,
int offset,
int count )
inline

Definition at line 89 of file HttpResponseStream.cs.

90 {
92 if (System.Net.NetEventSource.Log.IsEnabled())
93 {
94 System.Net.NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset, "Write");
95 }
96 if (!_closed)
97 {
99 }
100 }
static void ValidateBufferArguments(byte[] buffer, int offset, int count)
Definition Stream.cs:1044
unsafe void WriteCore(byte[] buffer, int offset, int size)
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)

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

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