48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
*/
@property (nonatomic) OFStringEncoding encoding;
/**
* @brief Creates a new OFZooArchive object with the specified stream.
*
* @param stream A stream from which the Zoo archive will be read.
* For read mode, this needs to be an OFSeekableStream.
* @param mode The mode for the Zoo file. Valid modes are "r" for reading and
* "w" for creating a new file.
* @return A new, autoreleased OFZooArchive
*/
+ (instancetype)archiveWithStream: (OFStream *)stream mode: (OFString *)mode;
/**
|
|
>
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
*/
@property (nonatomic) OFStringEncoding encoding;
/**
* @brief Creates a new OFZooArchive object with the specified stream.
*
* @param stream A stream from which the Zoo archive will be read.
* This needs to be an OFSeekableStream. For writing, the stream
* needs to support both reading and writing at the same time.
* @param mode The mode for the Zoo file. Valid modes are "r" for reading and
* "w" for creating a new file.
* @return A new, autoreleased OFZooArchive
*/
+ (instancetype)archiveWithStream: (OFStream *)stream mode: (OFString *)mode;
/**
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated OFZooArchive object with the
* specified stream.
*
* @param stream A stream from which the Zoo archive will be read.
* For read mode, this needs to be an OFSeekableStream.
* @param mode The mode for the Zoo file. Valid modes are "r" for reading and
* "w" for creating a new file.
* @return An initialized OFZooArchive
*/
- (instancetype)initWithStream: (OFStream *)stream
mode: (OFString *)mode OF_DESIGNATED_INITIALIZER;
|
|
>
|
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
- (instancetype)init OF_UNAVAILABLE;
/**
* @brief Initializes an already allocated OFZooArchive object with the
* specified stream.
*
* @param stream A stream from which the Zoo archive will be read.
* This needs to be an OFSeekableStream. For writing, the stream
* needs to support both reading and writing at the same time.
* @param mode The mode for the Zoo file. Valid modes are "r" for reading and
* "w" for creating a new file.
* @return An initialized OFZooArchive
*/
- (instancetype)initWithStream: (OFStream *)stream
mode: (OFString *)mode OF_DESIGNATED_INITIALIZER;
|