16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "config.h"
#include <stdio.h>
#import "OFZIPArchive.h"
#import "OFZIPArchiveEntry.h"
#import "OFDictionary.h"
#import "OFFile.h"
#import "OFChecksumFailedException.h"
#import "OFInvalidArgumentException.h"
#import "OFInvalidFormatException.h"
#import "OFNotImplementedException.h"
|
>
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "config.h"
#include <stdio.h>
#import "OFZIPArchive.h"
#import "OFZIPArchiveEntry.h"
#import "OFZIPArchiveEntry+Private.h"
#import "OFDictionary.h"
#import "OFFile.h"
#import "OFChecksumFailedException.h"
#import "OFInvalidArgumentException.h"
#import "OFInvalidFormatException.h"
#import "OFNotImplementedException.h"
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
* - Encrypted files cannot be read.
* - Split archives are not supported.
* - Write support is missing.
* - The ZIP has to be a file on the local file system.
* - No support for ZIP64.
* - No support for data descriptors (useless without compression anyway).
*/
@interface OFZIPArchive_LocalFileHeader: OFObject
{
@public
uint16_t _minVersion, _generalPurposeBitFlag, _compressionMethod;
uint16_t _lastModifiedFileTime, _lastModifiedFileDate;
uint32_t _CRC32, _compressedSize, _uncompressedSize;
|
>
>
>
>
>
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
* - Encrypted files cannot be read.
* - Split archives are not supported.
* - Write support is missing.
* - The ZIP has to be a file on the local file system.
* - No support for ZIP64.
* - No support for data descriptors (useless without compression anyway).
*/
@interface OFZIPArchive (OF_PRIVATE_CATEGORY)
- (void)OF_readZIPInfo;
- (void)OF_readEntries;
@end
@interface OFZIPArchive_LocalFileHeader: OFObject
{
@public
uint16_t _minVersion, _generalPurposeBitFlag, _compressionMethod;
uint16_t _lastModifiedFileTime, _lastModifiedFileDate;
uint32_t _CRC32, _compressedSize, _uncompressedSize;
|