Differences From Artifact [8903116140]:
- File src/OFSeekableStream.h — part of check-in [062a052b50] at 2010-04-17 15:46:34 on branch trunk — Don't return self where not necessary, return void or something useful. (user: js, size: 1439) [annotate] [blame] [check-ins using]
To Artifact [9408d385d6]:
- File
src/OFSeekableStream.h
— part of check-in
[37db8f0fb3]
at
2010-04-17 22:27:17
on branch trunk
— New ivar naming convention.
ivars are now named like this: thisIsAnIVar. If an accessor exists for
the ivar, the ivar is named like the accessor. This is required for
@property to work. (user: js, size: 1442) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 | * IMPORTANT: If you want to subclass this, override _seekToOffset:, * _seekForwardWithOffset: and _seekToOffsetRelativeToEnd:, but nothing else. * Those are not defined in the headers, but do the actual work. * OFSeekableStream uses those and makes them work together with the caching of * OFStream. If you override these methods without the _ prefix, you *WILL* * break caching, get broken results and seek to the wrong position! */ | | | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | * IMPORTANT: If you want to subclass this, override _seekToOffset:, * _seekForwardWithOffset: and _seekToOffsetRelativeToEnd:, but nothing else. * Those are not defined in the headers, but do the actual work. * OFSeekableStream uses those and makes them work together with the caching of * OFStream. If you override these methods without the _ prefix, you *WILL* * break caching, get broken results and seek to the wrong position! */ @interface OFSeekableStream: OFStream {} /** * Seeks to the specified absolute offset. * * \param offset The offset in bytes */ - (void)seekToOffset: (off_t)offset; |
︙ | ︙ |