SevenZip/SevenZipExtractor.cs
/// <summary>
///   Opens the archive and throws exceptions or returns OperationResult.DataError if any error occurs.
/// </summary>
/// <param name = "archiveStream">The IInStream compliant class instance, that is, the input stream.</param>
/// <param name = "openCallback">The ArchiveOpenCallback instance.</param>
/// <returns>OperationResult.Ok if Open() succeeds.</returns>
Opens the archive and throws exceptions or returns OperationResult.DataError if any error occurs.
Opens the archive and throws exceptions or returns OperationResult . DataError if any error occurs .
private OperationResult OpenArchiveInner(IInStream archiveStream,
                                                 IArchiveOpenCallback openCallback)
        {
            ulong checkPos = 1 << 15;
            int res = _archive.Open(archiveStream, ref checkPos, openCallback);
            return (OperationResult) res;
        }
private OperationResult OpenArchiveInner ( IInStream archiveStream , IArchiveOpenCallback openCallback ) { ulong checkPos = 1 << 15 ; int res = _archive . Open ( archiveStream , ref checkPos , openCallback ) ; return ( OperationResult ) res ; }
Opens the archive and throws exceptions or returns OperationResult.DataError if any error occurs.
Opens the archive and throws exceptions or returns OperationResult . DataError if any error occurs .
OperationResult.Ok if Open() succeeds.
OperationResult . Ok if Open () succeeds .
archiveStream
IInStream
The IInStream compliant class instance, that is, the input stream.
The IInStream compliant class instance that is the input stream .
openCallback
IArchiveOpenCallback
The ArchiveOpenCallback instance.
The ArchiveOpenCallback instance .