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.Security.Cryptography.CryptoStream Class Reference
+ Inheritance diagram for System.Security.Cryptography.CryptoStream:

Classes

struct  d__37
 
struct  d__42
 
struct  d__46
 
struct  d__49
 

Public Member Functions

 CryptoStream (Stream stream, ICryptoTransform transform, CryptoStreamMode mode)
 
 CryptoStream (Stream stream, ICryptoTransform transform, CryptoStreamMode mode, bool leaveOpen)
 
void FlushFinalBlock ()
 
override void Flush ()
 
override Task FlushAsync (CancellationToken cancellationToken)
 
override long Seek (long offset, SeekOrigin origin)
 
override void SetLength (long value)
 
override Task< int > ReadAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
override IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 
override int EndRead (IAsyncResult asyncResult)
 
override int ReadByte ()
 
override void WriteByte (byte value)
 
override int Read (byte[] buffer, int offset, int count)
 
override Task WriteAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
override IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 
override void EndWrite (IAsyncResult asyncResult)
 
override void Write (byte[] buffer, int offset, int count)
 
void Clear ()
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
virtual void Close ()
 
void Dispose ()
 
Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask< int > ReadAsync (Memory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
Task WriteAsync (byte[] buffer, int offset, int count)
 
virtual ValueTask WriteAsync (ReadOnlyMemory< byte > buffer, [Optional] CancellationToken cancellationToken)
 
virtual int Read (Span< byte > buffer)
 
virtual void Write (ReadOnlySpan< byte > buffer)
 
virtual ObjRef CreateObjRef (Type requestedType)
 
virtual object InitializeLifetimeService ()
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

override void Dispose (bool disposing)
 

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 CanSeek [get]
 
override bool CanWrite [get]
 
override long Length [get]
 
override long Position [get, set]
 
bool HasFlushedFinalBlock [get]
 
SemaphoreSlim AsyncActiveSemaphore [get]
 
virtual bool CanTimeout [get]
 
virtual int ReadTimeout [get, set]
 
virtual int WriteTimeout [get, set]
 
ServerIdentity ObjectIdentity [get, set]
 

Private Member Functions

Task< int > ReadAsyncInternal (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
void CheckReadArguments (byte[] buffer, int offset, int count)
 
Task< int > ReadAsyncCore (byte[] buffer, int offset, int count, CancellationToken cancellationToken, bool useAsync)
 
Task WriteAsyncInternal (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
void CheckWriteArguments (byte[] buffer, int offset, int count)
 
Task WriteAsyncCore (byte[] buffer, int offset, int count, CancellationToken cancellationToken, bool useAsync)
 
void InitializeBuffer ()
 
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

readonly Stream _stream
 
readonly ICryptoTransform _transform
 
readonly CryptoStreamMode _transformMode
 
byte[] _inputBuffer
 
int _inputBufferIndex
 
int _inputBlockSize
 
byte[] _outputBuffer
 
int _outputBufferIndex
 
int _outputBlockSize
 
bool _canRead
 
bool _canWrite
 
bool _finalBlockTransformed
 
SemaphoreSlim _lazyAsyncActiveSemaphore
 
readonly bool _leaveOpen
 
Stream.ReadWriteTask _activeReadWriteTask
 
SemaphoreSlim _asyncActiveSemaphore
 
object _identity
 

Detailed Description

Definition at line 13 of file CryptoStream.cs.


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