pub type uct_unpack_callback_t = Option<unsafe extern "C" fn(arg: *mut c_void, data: *const c_void, length: size_t)>;Expand description
@ingroup UCT_RESOURCE @brief Callback for consuming data.
@param [in] arg Custom user-argument. @param [in] data Memory buffer to unpack the data from. @param [in] length How much data to consume (size of “data”)
@note The arguments for this callback are in the same order as libc’s memcpy().
Aliased Type§
enum uct_unpack_callback_t {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *const c_void, _: u32)),
}