Function grpcio_sys::grpc_raw_compressed_byte_buffer_create [−][src]
pub unsafe extern "C" fn grpc_raw_compressed_byte_buffer_create(
slices: *mut grpc_slice,
nslices: usize,
compression: grpc_compression_algorithm
) -> *mut grpc_byte_buffer
Expand description
Returns a compressed RAW byte buffer instance over the given slices (up to \a nslices). The \a compression argument defines the compression algorithm used to generate the data in \a slices.
Increases the reference count for all \a slices processed. The user is responsible for invoking grpc_byte_buffer_destroy on the returned instance.