21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
@class OFDate;
@class OFNumber;
@class OFString;
/**
* @class OFZooArchiveEntry OFZooArchiveEntry.h ObjFW/OFZooArchiveEntry.h
*
* @brief A class which represents an entry in an Zoo archive.
*/
@interface OFZooArchiveEntry: OFObject <OFArchiveEntry, OFCopying>
{
uint8_t _headerType, _compressionMethod;
#ifdef OF_ZOO_ARCHIVE_M
@public
#endif
unsigned long long _nextHeaderOffset, _dataOffset;
@protected
uint16_t _lastModifiedFileDate, _lastModifiedFileTime;
uint16_t _CRC16;
unsigned long long _uncompressedSize, _compressedSize;
uint16_t _minVersionNeeded;
bool _deleted;
OFString *_Nullable _fileComment;
OFString *_fileName, *_Nullable _directoryName;
OFNumber *_Nullable _POSIXPermissions;
int8_t _timeZone;
uint16_t _operatingSystemIdentifier;
OF_RESERVE_IVARS(OFZooArchiveEntry, 4)
}
/**
* @brief The header type of the entry.
*/
@property (readonly, nonatomic) uint8_t headerType;
|
|
|
>
>
<
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
@class OFDate;
@class OFNumber;
@class OFString;
/**
* @class OFZooArchiveEntry OFZooArchiveEntry.h ObjFW/OFZooArchiveEntry.h
*
* @brief A class which represents an entry in a Zoo archive.
*/
@interface OFZooArchiveEntry: OFObject <OFArchiveEntry, OFCopying,
OFMutableCopying>
{
uint8_t _headerType, _compressionMethod;
#ifdef OF_ZOO_ARCHIVE_M
@public
#endif
unsigned long long _nextHeaderOffset, _dataOffset;
@protected
uint16_t _lastModifiedFileDate, _lastModifiedFileTime;
uint16_t _CRC16;
unsigned long long _uncompressedSize, _compressedSize;
uint16_t _minVersionNeeded;
bool _deleted;
OFString *_Nullable _fileComment;
OFString *_fileName, *_Nullable _directoryName;
uint16_t _operatingSystemIdentifier;
OFNumber *_Nullable _POSIXPermissions;
int8_t _timeZone;
OF_RESERVE_IVARS(OFZooArchiveEntry, 4)
}
/**
* @brief The header type of the entry.
*/
@property (readonly, nonatomic) uint8_t headerType;
|
81
82
83
84
85
86
87
88
89
90
91
92
93
|
*/
@property (readonly, nonatomic) uint16_t operatingSystemIdentifier;
/**
* @brief The time zone in which the file was stored, as an offset in hours
* from UTC (as a float).
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFNumber *timeZone;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
|
|
>
>
|
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
*/
@property (readonly, nonatomic) uint16_t operatingSystemIdentifier;
/**
* @brief The time zone in which the file was stored, as an offset in hours
* from UTC (as a float).
*/
@property OF_NULLABLE_PROPERTY (readonly, retain, nonatomic) OFNumber *timeZone;
- (instancetype)init OF_UNAVAILABLE;
@end
OF_ASSUME_NONNULL_END
#import "OFMutableZooArchiveEntry.h"
|