Differences From Artifact [b3e35f31cf]:
- File src/OFSeekableStream.m — part of check-in [e40729d406] at 2013-02-12 18:22:15 on branch trunk — Prefix all ivars with an underscore. (user: js, size: 987) [annotate] [blame] [check-ins using]
To Artifact [7b96bce1bd]:
- File
src/OFSeekableStream.m
— part of check-in
[efe7be259d]
at
2013-02-18 21:53:56
on branch trunk
— Rename -[OFStream pendingBytes].
It is now called -[numberOfBytesInReadBuffer].
Additionally, this commit renames OFStream's _cache to _readBuffer. (user: js, size: 1002) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | - (void)seekToOffset: (off_t)offset whence: (int)whence { [self lowlevelSeekToOffset: offset whence: whence]; | | | | | 30 31 32 33 34 35 36 37 38 39 40 41 | - (void)seekToOffset: (off_t)offset whence: (int)whence { [self lowlevelSeekToOffset: offset whence: whence]; [self freeMemory: _readBuffer]; _readBuffer = NULL; _readBufferLength = 0; } @end |