private void Close()
{
if (CurrentChunkGroup < ChunksList.CHUNK_GROUP_6_END) { // this could only happen if forced close
try {
idatIstream.Dispose();
} catch (Exception ) {
}
CurrentChunkGroup = ChunksList.CHUNK_GROUP_6_END;
}
if (ShouldCloseStream)
inputStream.Dispose();
}