218 * |
218 * |
219 * @param ptr a pointer to the memory area where to store the read data |
219 * @param ptr a pointer to the memory area where to store the read data |
220 * @param size the length of one element |
220 * @param size the length of one element |
221 * @param nitems the element count |
221 * @param nitems the element count |
222 * @param buffer the UcxBuffer to read from |
222 * @param buffer the UcxBuffer to read from |
223 * @return the total count of bytes read |
223 * @return the total number of elements read |
224 */ |
224 */ |
225 size_t ucx_buffer_read(void *ptr, size_t size, size_t nitems, |
225 size_t ucx_buffer_read(void *ptr, size_t size, size_t nitems, |
226 UcxBuffer *buffer); |
226 UcxBuffer *buffer); |
227 |
227 |
228 /** |
228 /** |