ObjFW  Check-in [ada9f37216]

Overview
Comment:Small documentation addendum.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ada9f37216fdfb6fc55fdf519c1acaea964733203ea4ad0436334ac1827f3a91
User & Date: js on 2009-09-27 15:04:59
Other Links: manifest | tags
Context
2009-09-28
07:55
Migration of OFList tests to new testing framework. check-in: 1d802bf56c user: js tags: trunk
2009-09-27
15:04
Small documentation addendum. check-in: ada9f37216 user: js tags: trunk
14:23
Add -[initWithFilePointer:] to OFFile. check-in: 3cf27e00c4 user: js tags: trunk
Changes

Modified src/OFStream.h from [d7a78fa6d9] to [a724d38486].

38
39
40
41
42
43
44




45
46
47
48
49
50
51
	  intoBuffer: (char*)buf;

/**
 * Read until a newline, \\0 or end of stream occurs.
 *
 * If you want to use readNBytes afterwards again, you have to clear the cache
 * before and optionally get the cache before clearing it!




 *
 * \return The line that was read, autoreleased, or nil if the end of the
 *	   stream has been reached.
 */
- (OFString*)readLine;

/**







>
>
>
>







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
	  intoBuffer: (char*)buf;

/**
 * Read until a newline, \\0 or end of stream occurs.
 *
 * If you want to use readNBytes afterwards again, you have to clear the cache
 * before and optionally get the cache before clearing it!
 *
 * You also need to pay attention to the cache if you want to know if there is
 * still data left - atEndOfStream can return NO even if there is still data
 * in the cache!
 *
 * \return The line that was read, autoreleased, or nil if the end of the
 *	   stream has been reached.
 */
- (OFString*)readLine;

/**