@@ -17,31 +17,31 @@ #import "OFSeekableStream.h" #import "OFNotImplementedException.h" @implementation OFSeekableStream -- (void)_seekToOffset: (off_t)offset +- (void)lowlevelSeekToOffset: (off_t)offset { @throw [OFNotImplementedException exceptionWithClass: [self class] selector: _cmd]; } -- (off_t)_seekForwardWithOffset: (off_t)offset +- (off_t)lowlevelSeekForwardWithOffset: (off_t)offset { @throw [OFNotImplementedException exceptionWithClass: [self class] selector: _cmd]; } -- (off_t)_seekToOffsetRelativeToEnd: (off_t)offset +- (off_t)lowlevelSeekToOffsetRelativeToEnd: (off_t)offset { @throw [OFNotImplementedException exceptionWithClass: [self class] selector: _cmd]; } - (void)seekToOffset: (off_t)offset { - [self _seekToOffset: offset]; + [self lowlevelSeekToOffset: offset]; [self freeMemory: cache]; cache = NULL; cacheLength = 0; } @@ -48,11 +48,11 @@ - (off_t)seekForwardWithOffset: (off_t)offset { off_t ret; - ret = [self _seekForwardWithOffset: offset - cacheLength]; + ret = [self lowlevelSeekForwardWithOffset: offset - cacheLength]; [self freeMemory: cache]; cache = NULL; cacheLength = 0; @@ -61,14 +61,14 @@ - (off_t)seekToOffsetRelativeToEnd: (off_t)offset { off_t ret; - ret = [self _seekToOffsetRelativeToEnd: offset]; + ret = [self lowlevelSeekToOffsetRelativeToEnd: offset]; [self freeMemory: cache]; cache = NULL; cacheLength = 0; return ret; } @end