@@ -40,16 +40,16 @@ of_string_encoding_t _encoding; OF_KINDOF(OFStream *) _Nullable _lastReturnedStream; } /*! - * @brief The encoding to use for the archive. + * @brief The encoding to use for the archive. Defaults to UTF-8. */ @property (nonatomic) of_string_encoding_t encoding; /*! - * @brief A stream for reading the current entry + * @brief A stream for reading the current entry. * * @note This is only available in read mode. * * @note The returned stream only conforms to @ref OFReadyForReadingObserving if * the underlying stream does so, too. @@ -81,10 +81,12 @@ * @return A new, autoreleased OFTarArchive */ + (instancetype)archiveWithPath: (OFString *)path mode: (OFString *)mode; #endif + +- (instancetype)init OF_UNAVAILABLE; /*! * @brief Initializes an already allocated OFTarArchive object with the * specified stream. *