signal_buffer_create

Function signal_buffer_create 

Source
pub unsafe extern "C" fn signal_buffer_create(
    data: *const u8,
    len: usize,
) -> *mut signal_buffer
Expand description

Create a new buffer and copy the provided data into it.

@param data pointer to the start of the data @param len length of the data @return pointer to the allocated buffer, or 0 on failure