pub unsafe extern "C" fn grpc_slice_from_copied_buffer(
    source: *const c_char,
    len: usize
) -> grpc_slice
Expand description

Create a slice by copying a buffer. Equivalent to: grpc_slice slice = grpc_slice_malloc(len); memcpy(slice->data, source, len);