terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
System.Net.FileWebStream Class Referencesealed
+ Inheritance diagram for System.Net.FileWebStream:
+ Collaboration 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 (global::System.Span< byte > buffer)
 
override global::System.IAsyncResult BeginRead (byte[] array, int offset, int numBytes, global::System.AsyncCallback userCallback, object stateObject)
 
override int EndRead (global::System.IAsyncResult asyncResult)
 
virtual void Write (global::System.ReadOnlySpan< byte > buffer)
 
override global::System.IAsyncResult BeginWrite (byte[] array, int offset, int numBytes, global::System.AsyncCallback userCallback, object stateObject)
 
override void EndWrite (global::System.IAsyncResult asyncResult)
 
override long Seek (long offset, SeekOrigin origin)
 
override void SetLength (long value)
 
override void Flush ()
 
void Dispose ()
 
override global::System.Threading.Tasks.Task FlushAsync (global::System.Threading.CancellationToken cancellationToken)
 
override global::System.Threading.Tasks.Task< int > ReadAsync (byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
 
global::System.Threading.Tasks.Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual global::System.Threading.Tasks.ValueTask< int > ReadAsync (global::System.Memory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
 
override global::System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
 
global::System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count)
 
virtual global::System.Threading.Tasks.ValueTask WriteAsync (global::System.ReadOnlyMemory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
virtual void Close ()
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

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

Package Functions

global::System.Threading.SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized ()
 
global::System.IAsyncResult BeginReadInternal (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
global::System.IAsyncResult BeginWriteInternal (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
 
global::System.IAsyncResult BlockingBeginRead (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 
global::System.IAsyncResult BlockingBeginWrite (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 

Static Package Functions

static int BlockingEndRead (global::System.IAsyncResult asyncResult)
 
static void BlockingEndWrite (global::System.IAsyncResult asyncResult)
 
static global::System.Threading.Tasks.ValueTask< int > Method_Internal_Static_ValueTask_1_Int32_Task_1_Int32_Byte_Memory_1_Byte_0 (global::System.Threading.Tasks.Task< int > readTask, byte[] localBuffer, global::System.Memory< byte > localDestination)
 

Properties

override bool CanRead [get, set]
 
override bool CanWrite [get, set]
 
override bool CanSeek [get, set]
 
override long Length [get, set]
 
override long Position [get, set]
 
virtual Microsoft.Win32.SafeHandles.SafeFileHandle SafeFileHandle [get, set]
 
virtual bool CanTimeout [get, set]
 
virtual int ReadTimeout [get, set]
 
virtual int WriteTimeout [get, set]
 

Private Member Functions

void System.Net.ICloseEx. CloseEx (CloseExState closeState)
 
void CheckError ()
 
void Init (Microsoft.Win32.SafeHandles.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 (global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] buf, int offset, int count)
 
void InitBuffer (int size, bool isZeroSize)
 
string GetSecureFileName (string filename)
 
string GetSecureFileName (string filename, bool full)
 
delegate int ReadDelegate (byte[] buffer, int offset, int count)
 
delegate void WriteDelegate (byte[] buffer, int offset, int count)
 
int GetCopyBufferSize ()
 
global::System.Threading.Tasks.Task< int > BeginEndReadAsync (byte[] buffer, int offset, int count)
 
void RunReadWriteTaskWhenReady (global::System.Threading.Tasks.Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
 
void RunReadWriteTask (Stream.ReadWriteTask readWriteTask)
 
void FinishTrackingAsyncOperation ()
 
global::System.Threading.Tasks.Task FinishWriteAsync (global::System.Threading.Tasks.Task writeTask, byte[] localBuffer)
 
global::System.Threading.Tasks.Task BeginEndWriteAsync (byte[] buffer, int offset, int count)
 
bool HasOverriddenBeginEndRead ()
 
bool HasOverriddenBeginEndWrite ()
 

Private Attributes

FileWebRequest m_request
 
byte[] buf
 
string name
 
Microsoft.Win32.SafeHandles.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
 
global::System.Threading.SemaphoreSlim _asyncActiveSemaphore
 

Static Private Attributes

static byte[] buf_recycle
 
static readonly object buf_recycle_lock
 

Detailed Description

Definition at line 10 of file FileWebStream.cs.


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