Public Attributes | List of all members
grpc_slice_buffer Struct Reference

#include <slice.h>

Public Attributes

grpc_slicebase_slices
 
size_t capacity
 
size_t count
 
grpc_slice inlined [GRPC_SLICE_BUFFER_INLINE_ELEMENTS]
 
size_t length
 
grpc_sliceslices
 

Detailed Description

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

Definition at line 83 of file include/grpc/impl/codegen/slice.h.

Member Data 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

Definition at line 86 of file include/grpc/impl/codegen/slice.h.

◆ 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

Definition at line 94 of file include/grpc/impl/codegen/slice.h.

◆ count

size_t grpc_slice_buffer::count

the number of slices in the array

Definition at line 91 of file include/grpc/impl/codegen/slice.h.

◆ inlined

grpc_slice grpc_slice_buffer::inlined[GRPC_SLICE_BUFFER_INLINE_ELEMENTS]

inlined elements to avoid allocations

Definition at line 98 of file include/grpc/impl/codegen/slice.h.

◆ length

size_t grpc_slice_buffer::length

the combined length of all slices in the array

Definition at line 96 of file include/grpc/impl/codegen/slice.h.

◆ slices

grpc_slice* grpc_slice_buffer::slices

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

Definition at line 89 of file include/grpc/impl/codegen/slice.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46