terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
System.Net.MonoChunkStream Class Reference
+ Inheritance diagram for System.Net.MonoChunkStream:

Classes

struct  d__7
 
struct  d__8
 

Public Member Functions

 MonoChunkStream (WebOperation operation, Stream innerStream, WebHeaderCollection headers)
 
override void SetLength (long value)
 
override long Seek (long offset, SeekOrigin origin)
 
override void Write (byte[] buffer, int offset, int count)
 
virtual void Write (ReadOnlySpan< byte > buffer)
 
override void Flush ()
 
override int Read (byte[] buffer, int offset, int size)
 
virtual int Read (Span< byte > buffer)
 
override IAsyncResult BeginRead (byte[] buffer, int offset, int size, AsyncCallback cb, object state)
 
override int EndRead (IAsyncResult r)
 
override Task< int > ReadAsync (byte[] buffer, int offset, int size, CancellationToken cancellationToken)
 
Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask< int > ReadAsync (Memory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
void Dispose ()
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
virtual void Close ()
 
virtual Task FlushAsync (CancellationToken cancellationToken)
 
virtual IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 
virtual void EndWrite (IAsyncResult asyncResult)
 
Task WriteAsync (byte[] buffer, int offset, int count)
 
virtual Task WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
virtual ValueTask WriteAsync (ReadOnlyMemory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
virtual int ReadByte ()
 
virtual void WriteByte (byte value)
 
virtual ObjRef CreateObjRef (Type requestedType)
 
virtual object InitializeLifetimeService ()
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

override Task< int > ProcessReadAsync (byte[] buffer, int offset, int size, CancellationToken cancellationToken)
 
Exception GetException (Exception e)
 
override void Dispose (bool disposing)
 

Package Functions

override Task FinishReading (CancellationToken cancellationToken)
 
SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized ()
 
IAsyncResult BeginReadInternal (byte[] buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
IAsyncResult BeginWriteInternal (byte[] buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
IAsyncResult BlockingBeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 
IAsyncResult BlockingBeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 

Static Package Functions

static int BlockingEndRead (IAsyncResult asyncResult)
 
static void BlockingEndWrite (IAsyncResult asyncResult)
 
static ValueTask< int >< ReadAsyncg__FinishReadAsync (Task< int > readTask, byte[] localBuffer, Memory< byte > localDestination)
 

Properties

WebHeaderCollection Headers [get]
 
MonoChunkParser Decoder [get]
 
WebOperation Operation [get]
 
Stream InnerStream [get]
 
string ME [get]
 
override long Length [get]
 
override long Position [get, set]
 
override bool CanSeek [get]
 
override bool CanRead [get]
 
override bool CanWrite [get]
 
virtual bool CanTimeout [get]
 
virtual int ReadTimeout [get, set]
 
virtual int WriteTimeout [get, set]
 
ServerIdentity ObjectIdentity [get, set]
 

Private Member Functions

Task n__0 (CancellationToken cancellationToken)
 
int GetCopyBufferSize ()
 
Task< int > BeginEndReadAsync (byte[] buffer, int offset, int count)
 
void RunReadWriteTaskWhenReady (Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
 
void RunReadWriteTask (Stream.ReadWriteTask readWriteTask)
 
void FinishTrackingAsyncOperation ()
 
Task FinishWriteAsync (Task writeTask, byte[] localBuffer)
 
Task BeginEndWriteAsync (byte[] buffer, int offset, int count)
 
bool HasOverriddenBeginEndRead ()
 
bool HasOverriddenBeginEndWrite ()
 

Static Private Member Functions

static void ThrowExpectingChunkTrailer ()
 

Private Attributes

readonly WebHeaderCollection< Headersk__BackingField
 
readonly MonoChunkParser< Decoderk__BackingField
 
bool disposed
 
Stream.ReadWriteTask _activeReadWriteTask
 
SemaphoreSlim _asyncActiveSemaphore
 
object _identity
 

Detailed Description

Definition at line 13 of file MonoChunkStream.cs.


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