Go to the documentation of this file.
21 #include <grpc/byte_buffer.h>
47 "Buffer isn't made up of a single uncompressed slice.");
58 "Couldn't initialize byte buffer reader");
74 "Couldn't initialize byte buffer reader");
grpc_byte_buffer * buffer_
struct grpc_byte_buffer::grpc_byte_buffer_data::grpc_compressed_buffer raw
GRPCAPI grpc_slice grpc_byte_buffer_reader_readall(grpc_byte_buffer_reader *reader)
static grpc::internal::GrpcLibraryInitializer g_gli_initializer
Status TrySingleSlice(Slice *slice) const
GRPCAPI int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, grpc_slice *slice)
tuple FAILED_PRECONDITION
grpc_byte_buffer_type type
Instantiating this class ensures the proper initialization of gRPC.
GRPCAPI int grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer)
static const Status & OK
An OK pre-defined instance.
Status Dump(std::vector< Slice > *slices) const
Dump (read) the buffer contents into slices.
Status DumpToSingleSlice(Slice *slice) const
Dump (read) the buffer contents into slics.
union grpc_byte_buffer::grpc_byte_buffer_data data
grpc_compression_algorithm compression
GRPC_CUSTOM_UTIL_STATUS Status
grpc_slice_buffer slice_buffer
GRPCAPI void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:41