Differences From Artifact [d8c22a2ea2]:
- File
src/OFStream.h
— part of check-in
[808601a0cc]
at
2021-12-17 17:53:43
on branch trunk
— OFStream: Remove methods for typed/swapped arrays
Those are never used in practice. (user: js, size: 43637) [annotate] [blame] [check-ins using]
To Artifact [6e060142f4]:
- File src/OFStream.h — part of check-in [d9586ed175] at 2022-01-28 19:34:41 on branch trunk — Don't assume EWOULDBLOCK and EAGAIN are the same (user: js, size: 43726) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
827 828 829 830 831 832 833 | - (bool)flushWriteBuffer; /** * @brief Writes from a buffer into the stream. * * In non-blocking mode, if less than the specified length could be written, an * @ref OFWriteFailedException is thrown with @ref OFWriteFailedException#errNo | > > | | | 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 | - (bool)flushWriteBuffer; /** * @brief Writes from a buffer into the stream. * * In non-blocking mode, if less than the specified length could be written, an * @ref OFWriteFailedException is thrown with @ref OFWriteFailedException#errNo * being set to `EWOULDBLOCK` or `EAGAIN` (you need to check for both, as they * are not the same on some systems) and * @ref OFWriteFailedException#bytesWritten being set to the number of bytes * that were written, if any. * * @param buffer The buffer from which the data is written into the stream * @param length The length of the data that should be written */ - (void)writeBuffer: (const void *)buffer length: (size_t)length; #ifdef OF_HAVE_SOCKETS |
︙ | ︙ |