Differences From Artifact [4e7f25597b]:
- File src/OFSeekableStream.h — part of check-in [30ab311006] at 2013-01-14 19:02:33 on branch trunk — Documentation improvements. (user: js, size: 2227) [annotate] [blame] [check-ins using]
To Artifact [ffc868cdea]:
- File
src/OFSeekableStream.h
— part of check-in
[d101b6f8b4]
at
2013-08-12 13:26:40
on branch trunk
— Fix OFSeekableStream.
-[seekToOffset:whence:] now works correctly when whence is SEEK_CUR.
Additionally, the new offset is returned now. (user: js, size: 2337) [annotate] [blame] [check-ins using]
︙ | |||
42 43 44 45 46 47 48 49 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | + - - + + + - - + + | * @param whence From where to seek.@n * Possible values are: * Value | Description * ---------|--------------------------------------- * SEEK_SET | Seek to the specified byte * SEEK_CUR | Seek to the current location + offset * SEEK_END | Seek to the end of the stream + offset * @return The new offset form the start of the file */ |