grpcio_sys

Function grpc_slice_malloc

Source
pub unsafe extern "C" fn grpc_slice_malloc(
    length: usize,
) -> grpc_slice
Expand description

Equivalent to grpc_slice_new(malloc(len), len, free), but saves one malloc() call. Aborts if malloc() fails.