Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Mime.MimeWriter Class Referencesealed

Protected Member Functions

override void OnClose (object sender, EventArgs args)
 
override void CheckBoundary ()
 
void Flush (MultiAsyncResult multiResult)
 

Static Protected Member Functions

static void OnWrite (IAsyncResult result)
 

Protected Attributes

readonly BufferBuilder _bufferBuilder
 
readonly Stream _stream
 
Stream _contentStream
 
bool _isInContent
 

Static Protected Attributes

static readonly byte[] s_crlf = new byte[2] { 13, 10 }
 

Package Functions

 MimeWriter (Stream stream, string boundary)
 
override void WriteHeaders (NameValueCollection headers, bool allowUnicode)
 
IAsyncResult BeginClose (AsyncCallback callback, object state)
 
void EndClose (IAsyncResult result)
 
override void Close ()
 
void WriteHeader (string name, string value, bool allowUnicode)
 
Stream GetContentStream ()
 
IAsyncResult BeginGetContentStream (AsyncCallback callback, object state)
 
Stream EndGetContentStream (IAsyncResult result)
 

Private Member Functions

void Close (MultiAsyncResult multiResult)
 
void WriteAndFold (string value, int charsAlreadyOnLine, bool allowUnicode)
 
Stream GetContentStream (MultiAsyncResult multiResult)
 

Private Attributes

readonly byte[] _boundaryBytes
 
bool _writeBoundary = true
 
readonly EventHandler _onCloseHandler
 
readonly bool _shouldEncodeLeadingDots
 
readonly int _lineLength
 

Static Private Attributes

static readonly byte[] s_DASHDASH = new byte[2] { 45, 45 }
 
static readonly AsyncCallback s_onWrite = OnWrite
 

Detailed Description

Definition at line 7 of file MimeWriter.cs.


The documentation for this class was generated from the following file: