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

Classes

class  CompressionState
 

Public Member Functions

 BZip2Compressor (BitWriter writer)
 
 BZip2Compressor (BitWriter writer, int blockSize)
 
int Fill (byte[] buffer, int offset, int count)
 
void CompressAndWrite ()
 

Properties

int BlockSize [get, set]
 
uint Crc32 [get, set, private set]
 
int AvailableBytesOut [get, set, private set]
 
int UncompressedBytes [get, set]
 

Private Member Functions

void Reset ()
 
int write0 (byte b)
 
bool AddRunToOutputBlock (bool final)
 
void randomiseBlock ()
 
void mainSort ()
 
void blockSort ()
 
bool mainSimpleSort (BZip2Compressor.CompressionState dataShadow, int lo, int hi, int d)
 
void mainQSort3 (BZip2Compressor.CompressionState dataShadow, int loSt, int hiSt, int dSt)
 
void generateMTFValues ()
 
void sendMTFValues ()
 
void sendMTFValues0 (int nGroups, int alphaSize)
 
int sendMTFValues1 (int nGroups, int alphaSize)
 
void sendMTFValues2 (int nGroups, int nSelectors)
 
void sendMTFValues3 (int nGroups, int alphaSize)
 
void sendMTFValues4 ()
 
void sendMTFValues5 (int nGroups, int nSelectors)
 
void sendMTFValues6 (int nGroups, int alphaSize)
 
void sendMTFValues7 (int nSelectors)
 
void moveToFrontCodeAndSend ()
 

Static Private Member Functions

static void vswap (int[] fmap, int p1, int p2, int n)
 
static byte med3 (byte a, byte b, byte c)
 
static void hbAssignCodes (int[] code, byte[] length, int minLen, int maxLen, int alphaSize)
 
static void hbMakeCodeLengths (byte[] len, int[] freq, BZip2Compressor.CompressionState state1, int alphaSize, int maxLen)
 
static BZip2Compressor ()
 

Private Attributes

int blockSize100k
 
int currentByte
 
int runLength
 
int last
 
int outBlockFillThreshold
 
BZip2Compressor.CompressionState cstate
 
readonly CRC32 crc
 
BitWriter bw
 
int runs
 
int workDone
 
int workLimit
 
bool firstAttempt
 
bool blockRandomised
 
int origPtr
 
int nInUse
 
int nMTF
 
uint< Crc32k__BackingField
 
int< AvailableBytesOutk__BackingField
 

Static Private Attributes

static readonly int SETMASK
 
static readonly int CLEARMASK
 
static readonly byte GREATER_ICOST
 
static readonly byte LESSER_ICOST
 
static readonly int SMALL_THRESH
 
static readonly int DEPTH_THRESH
 
static readonly int WORK_FACTOR
 
static readonly int[] increments
 

Detailed Description

Definition at line 11 of file BZip2Compressor.cs.


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