diff options
Diffstat (limited to 'C/Archive/7z/7zExtract.h')
-rwxr-xr-x | C/Archive/7z/7zExtract.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/C/Archive/7z/7zExtract.h b/C/Archive/7z/7zExtract.h index cd0e4f03..4aa197a6 100755 --- a/C/Archive/7z/7zExtract.h +++ b/C/Archive/7z/7zExtract.h @@ -1,5 +1,5 @@ /* 7zExtract.h -- Extracting from 7z archive -2008-04-09 +2008-08-05 Igor Pavlov Copyright (c) 1999-2008 Igor Pavlov Read 7zItem.h for license options */ @@ -12,18 +12,18 @@ Read 7zItem.h for license options */ /* SzExtract extracts file from archive - *outBuffer must be 0 before first call for each new archive. + *outBuffer must be 0 before first call for each new archive. Extracting cache: - If you need to decompress more than one file, you can send + If you need to decompress more than one file, you can send these values from previous call: - *blockIndex, - *outBuffer, + *blockIndex, + *outBuffer, *outBufferSize - You can consider "*outBuffer" as cache of solid block. If your archive is solid, + You can consider "*outBuffer" as cache of solid block. If your archive is solid, it will increase decompression speed. - If you use external function, you can declare these 3 cache variables + If you use external function, you can declare these 3 cache variables (blockIndex, outBuffer, outBufferSize) as static in that external function. Free *outBuffer and set *outBuffer to 0, if you want to flush cache. @@ -31,7 +31,7 @@ Read 7zItem.h for license options */ SRes SzAr_Extract( const CSzArEx *db, - ISzInStream *inStream, + ISzInStream *inStream, UInt32 fileIndex, /* index of file */ UInt32 *blockIndex, /* index of solid block */ Byte **outBuffer, /* pointer to pointer to output buffer (allocated with allocMain) */ |