pub unsafe extern "C" fn pomp_buffer_append_data(
buf: *mut pomp_buffer,
data: *const c_void,
len: usize,
) -> c_intExpand description
Append data to the buffer. @param buf : buffer. @param data : data to append. @param len : length of the data to append. @return 0 in case of success, negative errno value in case of error. -EPERM is returned if the buffer is shared.
@remarks Can re-allocate the internal data buffer and invalidate the data/cdata retrieved before.