27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
* 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;
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
* 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;
|