Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HttpContentStream.cs
Go to the documentation of this file.
1using System.IO;
2
3namespace System.Net.Http;
4
5internal abstract class HttpContentStream : HttpBaseStream
6{
8
10 {
11 _connection = connection;
12 }
13
14 public override void Write(byte[] buffer, int offset, int count)
15 {
18 }
19
20 protected override void Dispose(bool disposing)
21 {
22 if (disposing && _connection != null)
23 {
25 _connection = null;
26 }
27 base.Dispose(disposing);
28 }
29
34
36 {
37 throw new ObjectDisposedException(GetType().Name);
38 }
39}
static void ValidateBufferArguments(byte[] buffer, int offset, int count)
Definition Stream.cs:1044
override void Dispose(bool disposing)
override void Write(byte[] buffer, int offset, int count)
HttpContentStream(HttpConnection connection)