25OF_ASSUME_NONNULL_BEGIN
31 OFGZIPStreamOperatingSystemFAT = 0,
32 OFGZIPStreamOperatingSystemAmiga = 1,
33 OFGZIPStreamOperatingSystemVMS = 2,
34 OFGZIPStreamOperatingSystemUNIX = 3,
35 OFGZIPStreamOperatingSystemVM_CMS = 4,
36 OFGZIPStreamOperatingSystemAtariTOS = 5,
37 OFGZIPStreamOperatingSystemHPFS = 6,
38 OFGZIPStreamOperatingSystemMacintosh = 7,
39 OFGZIPStreamOperatingSystemZSystem = 8,
40 OFGZIPStreamOperatingSystemCPM = 9,
41 OFGZIPStreamOperatingSystemTOPS20 = 10,
42 OFGZIPStreamOperatingSystemNTFS = 11,
43 OFGZIPStreamOperatingSystemQDO = 12,
44 OFGZIPStreamOperatingSystemAcornRISCOS = 13,
45 OFGZIPStreamOperatingSystemUnknown = 255
46} OFGZIPStreamOperatingSystem;
54OF_SUBCLASSING_RESTRICTED
62 OFGZIPStreamStateCompressionMethod,
63 OFGZIPStreamStateFlags,
64 OFGZIPStreamStateModificationDate,
65 OFGZIPStreamStateExtraFlags,
66 OFGZIPStreamStateOperatingSystem,
67 OFGZIPStreamStateExtraLength,
68 OFGZIPStreamStateExtra,
69 OFGZIPStreamStateName,
70 OFGZIPStreamStateComment,
71 OFGZIPStreamStateHeaderCRC16,
72 OFGZIPStreamStateData,
73 OFGZIPStreamStateCRC32,
74 OFGZIPStreamStateUncompressedSize
77 OFGZIPStreamFlagText = 0x01,
78 OFGZIPStreamFlagHeaderCRC16 = 0x02,
79 OFGZIPStreamFlagExtra = 0x04,
80 OFGZIPStreamFlagName = 0x08,
81 OFGZIPStreamFlagComment = 0x10
84 OFGZIPStreamOperatingSystem _operatingSystemMadeOn;
87 OFDate *_Nullable _modificationDate;
88 uint16_t _extraLength;
89 uint32_t _CRC32, _uncompressedSize;
98@property (readonly, nonatomic)
99 OFGZIPStreamOperatingSystem operatingSystemMadeOn;
119- (instancetype)init OF_UNAVAILABLE;
130- (instancetype)initWithStream: (
OFStream *)stream
131 mode: (
OFString *)mode OF_DESIGNATED_INITIALIZER;
A class for storing, accessing and comparing dates.
Definition OFDate.h:34
A class that handles GZIP compression and decompression transparently for an underlying stream.
Definition OFGZIPStream.h:56
OFDate * modificationDate
The modification date of the original file.
Definition OFGZIPStream.h:107
A class that handles Deflate decompression transparently for an underlying stream.
Definition OFInflateStream.h:39
A base class for different types of streams.
Definition OFStream.h:192
A class for handling strings.
Definition OFString.h:139