1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright (c) 2008 - 2010
* Jonathan Schleifer <js@webkeks.org>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE included in
* the packaging of this file.
*/
#import "OFObject.h"
@class OFString;
@class OFDataArray;
/**
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* Copyright (c) 2008 - 2010
* Jonathan Schleifer <js@webkeks.org>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE included in
* the packaging of this file.
*/
#include <stdarg.h>
#import "OFObject.h"
@class OFString;
@class OFDataArray;
/**
|
262
263
264
265
266
267
268
269
270
271
272
273
|
* 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
|
>
>
>
>
>
>
>
>
>
>
|
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
|
* 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, ...;
/**
* Writes a formatted string into the stream.
*
* \param fmt A string used as format
* \param args The arguments used in the format string
* \return The number of bytes written
*/
- (size_t)writeFormat: (OFString*)fmt
withArguments: (va_list)args;
/**
* Closes the stream.
*/
- close;
@end
|