27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*!
* @brief A stream that supports seeking.
*
* @note If you want to subclass this, override
* @ref lowlevelSeekToOffset:whence:. OFSeekableStream uses this method
* and makes it work together with the caching of OFStream. If you
* override this methods without the lowlevel prefix, you <i>will</i>
* break caching, get broken results and seek to the wrong position!
*/
@interface OFSeekableStream: OFStream
/*!
* @brief Seeks to the specified absolute offset.
*
* @param offset The offset in bytes
* @param whence From where to seek.@n
|
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*!
* @brief A stream that supports seeking.
*
* @note If you want to subclass this, override
* @ref lowlevelSeekToOffset:whence:. OFSeekableStream uses this method
* and makes it work together with the caching of OFStream. If you
* override this methods without the lowlevel prefix, you *will* break
* caching, get broken results and seek to the wrong position!
*/
@interface OFSeekableStream: OFStream
/*!
* @brief Seeks to the specified absolute offset.
*
* @param offset The offset in bytes
* @param whence From where to seek.@n
|