GRPC C++  1.30.0
Data Fields
grpc_slice_buffer Struct Reference

Represents an expandable array of slices, to be interpreted as a single item. More...

#include <slice.h>

Data Fields

grpc_slicebase_slices
 This is for internal use only. More...
 
grpc_sliceslices
 slices in the array (Points to the first valid grpc_slice in the array) More...
 
size_t count
 the number of slices in the array More...
 
size_t capacity
 the number of slices allocated in the array. More...
 
size_t length
 the combined length of all slices in the array More...
 
grpc_slice inlined [8]
 inlined elements to avoid allocations More...
 

Detailed Description

Represents an expandable array of slices, to be interpreted as a single item.

Field Documentation

◆ base_slices

grpc_slice* grpc_slice_buffer::base_slices

This is for internal use only.

External users (i.e any code outside grpc core) MUST NOT use this field

◆ capacity

size_t grpc_slice_buffer::capacity

the number of slices allocated in the array.

External users (i.e any code outside grpc core) MUST NOT use this field

◆ count

size_t grpc_slice_buffer::count

the number of slices in the array

◆ inlined

grpc_slice grpc_slice_buffer::inlined[8]

inlined elements to avoid allocations

◆ length

size_t grpc_slice_buffer::length

the combined length of all slices in the array

◆ slices

grpc_slice* grpc_slice_buffer::slices

slices in the array (Points to the first valid grpc_slice in the array)


The documentation for this struct was generated from the following file: