[][src]Function grpcio_sys::grpc_slice_to_c_string

pub unsafe extern "C" fn grpc_slice_to_c_string(s: grpc_slice) -> *mut c_char

Return a copy of slice as a C string. Offers no protection against embedded NULL's. Returned string must be freed with gpr_free.