private void ZipOk(POIFSFileSystem fs, Decryptor d) { ZipInputStream zin = new ZipInputStream(d.GetDataStream(fs)); while (true) { int pos = zin.ReadByte(); if (pos == -1) break; // ZipEntry entry = zin.GetNextEntry(); // if (entry == null) // { // break; // } //while (zin.available() > 0) //{ // zin.skip(zin.available()); //} } }