Пример #1
0
 public DeflaterHuffman(SimpleZip.DeflaterPending pending)
 {
     this.pending = pending;
     this.literalTree = new Tree(this, 0x11e, 0x101, 15);
     this.distTree = new Tree(this, 30, 1, 15);
     this.blTree = new Tree(this, 0x13, 4, 7);
     this.d_buf = new short[0x4000];
     this.l_buf = new byte[0x4000];
 }
Пример #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;
 }