@@ -142,10 +142,18 @@ * \param str The string from which the data is written to the stream * \return The number of bytes written */ - (size_t)writeLine: (OFString*)str; +/** + * Writes a formatted string into the stream. + * + * \param fmt A string used as format + * \return The number of bytes written + */ +- (size_t)writeFormat: (OFString*)fmt, ...; + /** * Closes the stream. */ - close; @end