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
Ionic.BZip2.BZip2InputStream Class Reference
+ Inheritance diagram for Ionic.BZip2.BZip2InputStream:
+ Collaboration diagram for Ionic.BZip2.BZip2InputStream:

Classes

class  DecompressionState
 

Public Member Functions

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

Static Public Attributes

static readonly Stream Null
 

Protected Member Functions

override void Dispose (bool disposing)
 

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

Private Types

enum  CState {
  EOF , START_BLOCK , RAND_PART_A , RAND_PART_B ,
  RAND_PART_C , NO_RAND_PART_A , NO_RAND_PART_B , NO_RAND_PART_C
}
 

Private Member Functions

void MakeMaps ()
 
void init ()
 
void CheckMagicChar (char expected, int position)
 
void InitBlock ()
 
void EndBlock ()
 
void complete ()
 
int GetBits (int n)
 
bool bsGetBit ()
 
char bsGetUByte ()
 
uint bsGetInt ()
 
void recvDecodingTables ()
 
void createHuffmanDecodingTables (int alphaSize, int nGroups)
 
void getAndMoveToFrontDecode ()
 
int getAndMoveToFrontDecode0 (int groupNo)
 
void SetupBlock ()
 
void SetupRandPartA ()
 
void SetupNoRandPartA ()
 
void SetupRandPartB ()
 
void SetupRandPartC ()
 
void SetupNoRandPartB ()
 
void SetupNoRandPartC ()
 
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 ()
 

Static Private Member Functions

static void hbCreateDecodeTables (int[] limit, int[] bbase, int[] perm, char[] length, int minLen, int maxLen, int alphaSize)
 

Private Attributes

bool _disposed
 
bool _leaveOpen
 
long totalBytesRead
 
int last
 
int origPtr
 
int blockSize100k
 
bool blockRandomised
 
int bsBuff
 
int bsLive
 
readonly CRC32 crc
 
int nInUse
 
Stream input
 
int currentChar
 
BZip2InputStream.CState currentState
 
uint storedBlockCRC
 
uint storedCombinedCRC
 
uint computedBlockCRC
 
uint computedCombinedCRC
 
int su_count
 
int su_ch2
 
int su_chPrev
 
int su_i2
 
int su_j2
 
int su_rNToGo
 
int su_rTPos
 
int su_tPos
 
char su_z
 
BZip2InputStream.DecompressionState data
 
Stream.ReadWriteTask _activeReadWriteTask
 
global::System.Threading.SemaphoreSlim _asyncActiveSemaphore
 

Detailed Description

Definition at line 11 of file BZip2InputStream.cs.


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