| 342 |
342 |
| 343 /** |
343 /** |
| 344 * Tests, if the buffer position has exceeded the buffer size. |
344 * Tests, if the buffer position has exceeded the buffer size. |
| 345 * |
345 * |
| 346 * @param buffer the buffer to test |
346 * @param buffer the buffer to test |
| 347 * @return non-zero, if the current buffer position has exceeded the last |
347 * @return true, if the current buffer position has exceeded the last |
| 348 * byte of the buffer's contents. |
348 * byte of the buffer's contents. |
| 349 */ |
349 */ |
| 350 cx_attr_nonnull |
350 cx_attr_nonnull |
| 351 cx_attr_nodiscard |
351 cx_attr_nodiscard |
| 352 int cxBufferEof(const CxBuffer *buffer); |
352 bool cxBufferEof(const CxBuffer *buffer); |
| 353 |
353 |
| 354 |
354 |
| 355 /** |
355 /** |
| 356 * Ensures that the buffer has a minimum capacity. |
356 * Ensures that the buffer has a minimum capacity. |
| 357 * |
357 * |