Function grpcio_sys::grpc_slice_new_with_len [−][src]
pub unsafe extern "C" fn grpc_slice_new_with_len(
p: *mut c_void,
len: usize,
destroy: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: usize)>
) -> grpc_slice
Equivalent to grpc_slice_new, but with a two argument destroy function that also takes the slice length.