Exemplo n.º 1
0
 public Inflater(bool noHeader)
 {
     this.noHeader = noHeader;
     adler = new Adler32();
     input = new StreamManipulator();
     outputWindow = new OutputWindow();
     mode = noHeader ? 2 : 0;
 }
Exemplo n.º 2
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;
 }