@@ -18,31 +18,31 @@ /** * \brief A base class for different types of streams. * * IMPORTANT: If you want to subclass this, override _readNBytes:intoBuffer:, - * _writeNBytes:fromBuffer: and _atEndOfStream, but nothing else. Those are not - * defined in the headers, but do the actual work. OFStream uses those and does - * all the caching and other stuff. If you override these methods without the - * _ prefix, you *WILL* break caching and get broken results! + * _writeNBytes:fromBuffer: and _isAtEndOfStream, but nothing else. Those are + * not defined in the headers, but do the actual work. OFStream uses those and + * does all the caching and other stuff. If you override these methods without + * the _ prefix, you *WILL* break caching and get broken results! */ @interface OFStream: OFObject { @public char *cache; @protected char *wBuffer; size_t cacheLen, wBufferLen; - BOOL bufferWrites;; + BOOL buffersWrites; } /** * Returns a boolean whether the end of the stream has been reached. * * \return A boolean whether the end of the stream has been reached */ -- (BOOL)atEndOfStream; +- (BOOL)isAtEndOfStream; /** * Reads at most size bytes from the stream into a buffer. * * \param buf The buffer into which the data is read @@ -198,18 +198,18 @@ withEncoding: (enum of_string_encoding)encoding; /** * \return A boolean whether writes are buffered */ -- (BOOL)bufferWrites; +- (BOOL)buffersWrites; /** * Enables or disables the write buffer. * * \param enable Whether the write buffer should be enabled or disabled */ -- (void)setBufferWrites: (BOOL)enable; +- (void)setBuffersWrites: (BOOL)enable; /** * Writes everythig in the write buffer to the stream. */ - (void)flushWriteBuffer;