7zip.mak |
|
4173 |
Aes.mak |
|
179 |
Archive |
|
|
Asm.mak |
|
247 |
Bundles |
|
|
Common |
|
|
Compress |
|
|
Crc.mak |
|
210 |
Crc64.mak |
|
214 |
Crypto |
|
|
GuiCommon.rc |
|
1928 |
Guid.txt |
|
4296 |
ICoder.h |
(inSize) can be NULL, if unknown
(outSize) can be NULL, if unknown
returns:
S_OK
E_ABORT : Break by user
another error codes
|
11761 |
IDecl.h |
|
680 |
IPassword.h |
|
486 |
IProgress.h |
|
340 |
IStream.h |
The requirement for caller: (processedSize != NULL).
The callee can allow (processedSize == NULL) for compatibility reasons.
if (size == 0), this function returns S_OK and (*processedSize) is set to 0.
if (size != 0)
{
Partial read is allowed: (*processedSize <= avail_size && *processedSize <= size),
where (avail_size) is the size of remaining bytes in stream.
If (avail_size != 0), this function must read at least 1 byte: (*processedSize > 0).
You must call Read() in loop, if you need to read exact amount of data.
}
If seek pointer before Read() call was changed to position past the end of stream:
if (seek_pointer >= stream_size), this function returns S_OK and (*processedSize) is set to 0.
ERROR CASES:
If the function returns error code, then (*processedSize) is size of
data written to (data) buffer (it can be data before error or data with errors).
The recommended way for callee to work with reading errors:
1) write part of data before error to (data) buffer and return S_OK.
2) return error code for further calls of Read().
|
3808 |
LzmaDec.mak |
|
113 |
MyVersion.h |
|
58 |
MyVersionInfo.rc |
|
57 |
PropID.h |
|
2657 |
SubBuild.mak |
|
48 |
UI |
|
|