pub unsafe extern "C" fn signal_buffer_create(
data: *const u8,
len: usize,
) -> *mut signal_bufferExpand 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