GRPC C++  1.11.0
Public Member Functions | Protected Attributes | Friends
grpc::internal::GrpcBufferWriter Class Reference

#include <proto_utils.h>

Public Member Functions

 GrpcBufferWriter (grpc_byte_buffer **bp, int block_size, int total_size)
 
 ~GrpcBufferWriter () override
 
bool Next (void **data, int *size) override
 
void BackUp (int count) override
 
grpc::protobuf::int64 ByteCount () const override
 

Protected Attributes

const int block_size_
 
const int total_size_
 
int64_t byte_count_
 
grpc_slice_bufferslice_buffer_
 
bool have_backup_
 
grpc_slice backup_slice_
 
grpc_slice slice_
 

Friends

class GrpcBufferWriterPeer
 

Constructor & Destructor Documentation

◆ GrpcBufferWriter()

grpc::internal::GrpcBufferWriter::GrpcBufferWriter ( grpc_byte_buffer **  bp,
int  block_size,
int  total_size 
)
inline

◆ ~GrpcBufferWriter()

grpc::internal::GrpcBufferWriter::~GrpcBufferWriter ( )
inlineoverride

Member Function Documentation

◆ BackUp()

void grpc::internal::GrpcBufferWriter::BackUp ( int  count)
inlineoverride

◆ ByteCount()

grpc::protobuf::int64 grpc::internal::GrpcBufferWriter::ByteCount ( ) const
inlineoverride

◆ Next()

bool grpc::internal::GrpcBufferWriter::Next ( void **  data,
int *  size 
)
inlineoverride

Friends And Related Function Documentation

◆ GrpcBufferWriterPeer

friend class GrpcBufferWriterPeer
friend

Field Documentation

◆ backup_slice_

grpc_slice grpc::internal::GrpcBufferWriter::backup_slice_
protected

◆ block_size_

const int grpc::internal::GrpcBufferWriter::block_size_
protected

◆ byte_count_

int64_t grpc::internal::GrpcBufferWriter::byte_count_
protected

◆ have_backup_

bool grpc::internal::GrpcBufferWriter::have_backup_
protected

◆ slice_

grpc_slice grpc::internal::GrpcBufferWriter::slice_
protected

◆ slice_buffer_

grpc_slice_buffer* grpc::internal::GrpcBufferWriter::slice_buffer_
protected

◆ total_size_

const int grpc::internal::GrpcBufferWriter::total_size_
protected

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