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.FileWebStream Class Referencesealed
+ Inheritance diagram for System.Net.FileWebStream:

Public Member Functions

 FileWebStream (FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing)
 
 FileWebStream (FileWebRequest request, string path, FileMode mode, FileAccess access, FileShare sharing, int length, bool async)
 
override int Read (byte[] buffer, int offset, int size)
 
override void Write (byte[] buffer, int offset, int size)
 
override IAsyncResult BeginRead (byte[] buffer, int offset, int size, AsyncCallback callback, object state)
 
override int EndRead (IAsyncResult ar)
 
override IAsyncResult BeginWrite (byte[] buffer, int offset, int size, AsyncCallback callback, object state)
 
override void EndWrite (IAsyncResult ar)
 
override int ReadByte ()
 
override void WriteByte (byte value)
 
virtual int Read (Span< byte > buffer)
 
virtual void Write (ReadOnlySpan< byte > buffer)
 
override long Seek (long offset, SeekOrigin origin)
 
override void SetLength (long value)
 
override void Flush ()
 
void Dispose ()
 
override Task FlushAsync (CancellationToken cancellationToken)
 
override Task< int > ReadAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask< int > ReadAsync (Memory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
override Task WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
Task WriteAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask WriteAsync (ReadOnlyMemory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
virtual void Close ()
 
virtual ObjRef CreateObjRef (Type requestedType)
 
virtual object InitializeLifetimeService ()
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

override void Dispose (bool disposing)
 
override void Finalize ()
 

Package Functions

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

override bool CanRead [get]
 
override bool CanWrite [get]
 
override bool CanSeek [get]
 
override long Length [get]
 
override long Position [get, set]
 
virtual SafeFileHandle SafeFileHandle [get]
 
virtual bool CanTimeout [get]
 
virtual int ReadTimeout [get, set]
 
virtual int WriteTimeout [get, set]
 
ServerIdentity ObjectIdentity [get, set]
 

Private Member Functions

void ICloseEx. CloseEx (CloseExState closeState)
 
void CheckError ()
 
void Init (SafeFileHandle safeHandle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
 
void ExposeHandle ()
 
int ReadInternal (byte[] dest, int offset, int count)
 
void WriteInternal (byte[] src, int offset, int count)
 
int ReadSegment (byte[] dest, int dest_offset, int count)
 
int WriteSegment (byte[] src, int src_offset, int count)
 
void FlushBuffer ()
 
void FlushBufferIfDirty ()
 
void RefillBuffer ()
 
int ReadData (SafeHandle safeHandle, byte[] buf, int offset, int count)
 
void InitBuffer (int size, bool isZeroSize)
 
string GetSecureFileName (string filename)
 
string GetSecureFileName (string filename, bool full)
 
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 ()
 

Private Attributes

FileWebRequest m_request
 
byte[] buf
 
string name
 
SafeFileHandle safeHandle
 
bool isExposed
 
long append_startpos
 
FileAccess access
 
bool owner
 
bool async
 
bool canseek
 
bool anonymous
 
bool buf_dirty
 
int buf_size
 
int buf_length
 
int buf_offset
 
long buf_start
 
Stream.ReadWriteTask _activeReadWriteTask
 
SemaphoreSlim _asyncActiveSemaphore
 
object _identity
 

Static Private Attributes

static byte[] buf_recycle
 
static readonly object buf_recycle_lock
 

Detailed Description

Definition at line 7 of file FileWebStream.cs.


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