Function esp_idf_sys::ble_hs_mbuf_from_flat

source ยท
pub unsafe extern "C" fn ble_hs_mbuf_from_flat(
    buf: *const c_void,
    len: u16,
) -> *mut os_mbuf
Expand description

Allocates an mbuf and fills it with the contents of the specified flat buffer.

@param buf The flat buffer to copy from. @param len The length of the flat buffer.

@return A newly-allocated mbuf on success, NULL on error.