Differences From Artifact [30723cee3c]:
- File src/OFStream.m — part of check-in [f9d12201f8] at 2014-02-18 00:22:43 on branch trunk — Move around a few defines to be more consistent (user: js, size: 30679) [annotate] [blame] [check-ins using]
To Artifact [6cbe514a9d]:
- File
src/OFStream.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: 30677) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1459 1460 1461 1462 1463 1464 1465 | } @finally { free(UTF8String); } return length; } | | | | 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 | } @finally { free(UTF8String); } return length; } - (bool)hasDataInReadBuffer { return (_readBufferLength > 0); } - (bool)isBlocking { return _blocking; } |
︙ | ︙ |