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