Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Diagnostics.AsyncStreamReader Class Referencesealed

Public Member Functions

void Dispose ()
 

Package Functions

 AsyncStreamReader (Stream stream, Action< string > callback, Encoding encoding)
 
void BeginReadLine ()
 
void CancelOperation ()
 

Properties

Task EOF [get]
 

Private Member Functions

async Task ReadBufferAsync ()
 
void MoveLinesFromStringBuilderToMessageQueue ()
 
bool FlushMessageQueue (bool rethrowInNewThread)
 

Private Attributes

readonly Stream _stream
 
readonly Decoder _decoder
 
readonly byte[] _byteBuffer
 
readonly char[] _charBuffer
 
readonly Action< string_userCallBack
 
readonly CancellationTokenSource _cts
 
Task _readToBufferTask
 
readonly Queue< string_messageQueue
 
StringBuilder _sb
 
bool _bLastCarriageReturn
 
bool _cancelOperation
 
int _currentLinePos
 

Detailed Description

Definition at line 10 of file AsyncStreamReader.cs.


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