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
Ionic.Zlib.ZlibBaseStream Class Reference
+ Inheritance diagram for Ionic.Zlib.ZlibBaseStream:

Public Member Functions

 ZlibBaseStream (Stream stream, CompressionMode compressionMode, CompressionLevel level, ZlibStreamFlavor flavor, bool leaveOpen)
 
override void Write (byte[] buffer, int offset, int count)
 
override void Close ()
 
override void Flush ()
 
override long Seek (long offset, SeekOrigin origin)
 
override void SetLength (long value)
 
override int Read (byte[] buffer, int offset, int count)
 
void CopyTo (Stream destination)
 
virtual void CopyTo (Stream destination, int bufferSize)
 
void Dispose ()
 
virtual Task FlushAsync (CancellationToken cancellationToken)
 
virtual IAsyncResult BeginRead (byte[] buffer, int offset, int count, AsyncCallback callback, object state)
 
virtual int EndRead (IAsyncResult asyncResult)
 
Task< int > ReadAsync (byte[] buffer, int offset, int count)
 
virtual Task< int > ReadAsync (byte[] buffer, int offset, int count, CancellationToken cancellationToken)
 
virtual ValueTask< int > ReadAsync (Memory< byte > buffer, [Optional] 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 Read (Span< byte > buffer)
 
virtual int ReadByte ()
 
virtual void Write (ReadOnlySpan< byte > buffer)
 
virtual void WriteByte (byte value)
 
virtual ObjRef CreateObjRef (Type requestedType)
 
virtual object InitializeLifetimeService ()
 

Static Public Member Functions

static void CompressString (string s, Stream compressor)
 
static void CompressBuffer (byte[] b, Stream compressor)
 
static string UncompressString (byte[] compressed, Stream decompressor)
 
static byte[] UncompressBuffer (byte[] compressed, Stream decompressor)
 

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Package Types

enum  StreamMode { Writer , Reader , Undefined }
 

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)
 

Package Attributes

ZlibCodec _z
 
ZlibBaseStream.StreamMode _streamMode = ZlibBaseStream.StreamMode.Undefined
 
FlushType _flushMode
 
ZlibStreamFlavor _flavor
 
CompressionMode _compressionMode
 
CompressionLevel _level
 
bool _leaveOpen
 
byte[] _workingBuffer
 
int _bufferSize = 8192
 
byte[] _buf1
 
Stream _stream
 
CompressionStrategy Strategy
 
string _GzipFileName
 
string _GzipComment
 
DateTime _GzipMtime
 
int _gzipHeaderByteCount
 

Properties

int Crc32 [get]
 
bool _wantCompress [get]
 
ZlibCodec z [get]
 
byte[] workingBuffer [get]
 
override bool CanRead [get]
 
override bool CanSeek [get]
 
override bool CanWrite [get]
 
override long Length [get]
 
override long Position [get, set]
 
virtual bool CanTimeout [get]
 
virtual int ReadTimeout [get, set]
 
virtual int WriteTimeout [get, set]
 
ServerIdentity ObjectIdentity [get, set]
 

Private Member Functions

void finish ()
 
void end ()
 
string ReadZeroTerminatedString ()
 
int _ReadAndValidateGzipHeader ()
 
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

CRC32 crc
 
bool nomoreinput
 
Stream.ReadWriteTask _activeReadWriteTask
 
SemaphoreSlim _asyncActiveSemaphore
 
object _identity
 

Detailed Description

Definition at line 11 of file ZlibBaseStream.cs.


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