Function grpcio_sys::grpc_byte_buffer_copy
source · pub unsafe extern "C" fn grpc_byte_buffer_copy(
bb: *mut grpc_byte_buffer
) -> *mut grpc_byte_buffer
Expand description
Copies input byte buffer \a bb.
Increases the reference count of all the source slices. The user is responsible for calling grpc_byte_buffer_destroy over the returned copy.