using static BinaryObjectScanner.Models.Compression.MSZIP.Constants;
namespace BinaryObjectScanner.Compression.MSZIP
{
///
public unsafe class State
{
///
/// Current offset within the window
///
public uint window_posn;
///
/// Bit buffer
///
public uint bb;
///
/// Bits in bit buffer
///
public uint bk;
///
/// Literal/length and distance code lengths
///
public uint[] ll = new uint[288 + 32];
///
/// Bit length count table
///
public uint[] c = new uint[ZIPBMAX + 1];
///
/// Memory for l[-1..ZIPBMAX-1]
///
public int[] lx = new int[ZIPBMAX + 1];
///
/// Table stack
///
public HuffmanNode*[] u = new HuffmanNode*[ZIPBMAX];
///
/// Values in order of bit length
///
public uint[] v = new uint[ZIPN_MAX];
///
/// Bit offsets, then code stack
///
public uint[] x = new uint[ZIPBMAX + 1];
/// byte*
public byte* inpos;
}
}