/** * Closes the input stream. * * @throws IOException * if an I/O error has occured */ public virtual void CloseEntry() { long skipCount = Skip(entryCount); if (entryCount != skipCount) { throw new LhaException("Data length not matched"); } if (entry.HasCRC() && entry.GetCRC() != crc.GetValue()) { throw new LhaException("Data crc is not matched"); } Close(); }