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.IO.PinnedBufferMemoryStream Class Referencesealed
+ Inheritance diagram for System.IO.PinnedBufferMemoryStream:
+ Collaboration diagram for System.IO.PinnedBufferMemoryStream:

Public Member Functions

override int Read (global::System.Span< byte > buffer)
 
override void Write (global::System.ReadOnlySpan< byte > buffer)
 
void Dispose ()
 
override void Flush ()
 
override global::System.Threading.Tasks.Task FlushAsync (global::System.Threading.CancellationToken cancellationToken)
 
override int Read (byte[] buffer, int offset, int count)
 
override global::System.Threading.Tasks.Task< int > ReadAsync (byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
 
override global::System.Threading.Tasks.ValueTask< int > ReadAsync (global::System.Memory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
 
global::System.Threading.Tasks.Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
unsafe override int ReadByte ()
 
override long Seek (long offset, SeekOrigin loc)
 
unsafe override void SetLength (long value)
 
override void Write (byte[] buffer, int offset, int count)
 
override global::System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
 
override global::System.Threading.Tasks.ValueTask WriteAsync (global::System.ReadOnlyMemory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
 
global::System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count)
 
unsafe override void WriteByte (byte value)
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
virtual void Close ()
 
virtual global::System.IAsyncResult BeginRead (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 
virtual int EndRead (global::System.IAsyncResult asyncResult)
 
virtual global::System.IAsyncResult BeginWrite (byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
 
virtual void EndWrite (global::System.IAsyncResult asyncResult)
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

override void Finalize ()
 
override void Dispose (bool disposing)
 
unsafe void Initialize (byte *pointer, long length, long capacity, FileAccess access)
 

Package Functions

unsafe PinnedBufferMemoryStream (byte[] array)
 
unsafe int ReadCore (global::System.Span< byte > buffer)
 
unsafe void WriteCore (global::System.ReadOnlySpan< byte > buffer)
 
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)
 

Package Attributes

bool _isOpen
 

Properties

override bool CanRead [get, set]
 
override bool CanSeek [get, set]
 
override bool CanWrite [get, set]
 
override long Length [get, set]
 
override long Position [get, set]
 
unsafe byte * PositionPointer [get, set]
 
virtual bool CanTimeout [get, set]
 
virtual int ReadTimeout [get, set]
 
virtual int WriteTimeout [get, set]
 

Private Member Functions

unsafe void EnsureNotClosed ()
 
void EnsureReadable ()
 
void EnsureWriteable ()
 
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

byte[] _array
 
global::System.Runtime.InteropServices.GCHandle _pinningHandle
 
global::System.Runtime.InteropServices.SafeBuffer _buffer
 
unsafe byte * _mem
 
long _length
 
long _capacity
 
long _position
 
long _offset
 
FileAccess _access
 
global::System.Threading.Tasks.Task< int > _lastReadTask
 
Stream.ReadWriteTask _activeReadWriteTask
 
global::System.Threading.SemaphoreSlim _asyncActiveSemaphore
 

Detailed Description

Definition at line 10 of file PinnedBufferMemoryStream.cs.


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