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

#include <proto_utils.h>

Public Member Functions

 GrpcBufferReader (grpc_byte_buffer *buffer)
 
 ~GrpcBufferReader () override
 
bool Next (const void **data, int *size) override
 
Status status () const
 
void BackUp (int count) override
 
bool Skip (int count) override
 
grpc::protobuf::int64 ByteCount () const override
 

Protected Attributes

int64_t byte_count_
 
int64_t backup_count_
 
grpc_byte_buffer_reader reader_
 
grpc_slice slice_
 
Status status_
 

Constructor & Destructor Documentation

◆ GrpcBufferReader()

grpc::internal::GrpcBufferReader::GrpcBufferReader ( grpc_byte_buffer buffer)
inlineexplicit

◆ ~GrpcBufferReader()

grpc::internal::GrpcBufferReader::~GrpcBufferReader ( )
inlineoverride

Member Function Documentation

◆ BackUp()

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

◆ ByteCount()

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

◆ Next()

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

◆ Skip()

bool grpc::internal::GrpcBufferReader::Skip ( int  count)
inlineoverride

◆ status()

Status grpc::internal::GrpcBufferReader::status ( ) const
inline

Field Documentation

◆ backup_count_

int64_t grpc::internal::GrpcBufferReader::backup_count_
protected

◆ byte_count_

int64_t grpc::internal::GrpcBufferReader::byte_count_
protected

◆ reader_

grpc_byte_buffer_reader grpc::internal::GrpcBufferReader::reader_
protected

◆ slice_

grpc_slice grpc::internal::GrpcBufferReader::slice_
protected

◆ status_

Status grpc::internal::GrpcBufferReader::status_
protected

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