Differences From Artifact [8d93d6070f]:
- File src/OFDeflateStream.m — part of check-in [a8c62e1c0d] at 2014-05-31 02:16:40 on branch trunk — Better code sharing between Deflate and Deflate64 (user: js, size: 18710) [annotate] [blame] [check-ins using]
To Artifact [e0f523d409]:
- File
src/OFDeflateStream.m
— part of check-in
[acc999a75e]
at
2014-05-31 17:57:21
on branch trunk
— OFStream: Add -[hasDataInReadBuffer].
This replaces -[numberOfBytesInReadBuffer], as it's not always known how
many bytes there are exactly and thus the number would often be wrong
(e.g. because data is compressed). (user: js, size: 18896) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
772 773 774 775 776 777 778 779 780 | } #ifndef DEFLATE64 - (bool)lowlevelIsAtEndOfStream { return _atEndOfStream; } #endif @end | > > > > > > > > > > | 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 | } #ifndef DEFLATE64 - (bool)lowlevelIsAtEndOfStream { return _atEndOfStream; } - (int)fileDescriptorForReading { return [_stream fileDescriptorForReading]; } - (bool)hasDataInReadBuffer { return ([super hasDataInReadBuffer] || [_stream hasDataInReadBuffer]); } #endif @end |