Exemplo n.º 1
0
 public DeflaterEngine(DeflaterPending pending)
 {
     this.pending = pending;
     huffman = new DeflaterHuffman(pending);
     adler = new Adler32();
     window = new byte[0x10000];
     head = new short[0x8000];
     prev = new short[0x8000];
     blockStart = strstart = 1;
 }
Exemplo n.º 2
0
 public Tree(DeflaterHuffman dh, int elems, int minCodes, int maxLength)
 {
     this.dh = dh;
     minNumCodes = minCodes;
     this.maxLength = maxLength;
     freqs = new short[elems];
     bl_counts = new int[maxLength];
 }