Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::strings::CheckedArrayByteSink Class Reference

#include <bytestream.h>

Inheritance diagram for google::protobuf::strings::CheckedArrayByteSink:
Inheritance graph
[legend]

Public Member Functions

virtual void Append (const char *bytes, size_t n) override
 
virtual void Append (const char *bytes, size_t n) override
 
 CheckedArrayByteSink (char *outbuf, size_t capacity)
 
 CheckedArrayByteSink (char *outbuf, size_t capacity)
 
size_t NumberOfBytesWritten () const
 
size_t NumberOfBytesWritten () const
 
bool Overflowed () const
 
bool Overflowed () const
 
- Public Member Functions inherited from google::protobuf::strings::ByteSink
 ByteSink ()
 
 ByteSink ()
 
virtual void Flush ()
 
virtual void Flush ()
 
virtual ~ByteSink ()
 
virtual ~ByteSink ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CheckedArrayByteSink)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CheckedArrayByteSink)
 

Private Attributes

const size_t capacity_
 
char * outbuf_
 
bool overflowed_
 
size_t size_
 

Detailed Description

Definition at line 191 of file bloaty/third_party/protobuf/src/google/protobuf/stubs/bytestream.h.

Constructor & Destructor Documentation

◆ CheckedArrayByteSink() [1/2]

google::protobuf::strings::CheckedArrayByteSink::CheckedArrayByteSink ( char *  outbuf,
size_t  capacity 
)

◆ CheckedArrayByteSink() [2/2]

google::protobuf::strings::CheckedArrayByteSink::CheckedArrayByteSink ( char *  outbuf,
size_t  capacity 
)

Member Function Documentation

◆ Append() [1/2]

void google::protobuf::strings::CheckedArrayByteSink::Append ( const char *  bytes,
size_t  n 
)
overridevirtual

◆ Append() [2/2]

virtual void google::protobuf::strings::CheckedArrayByteSink::Append ( const char *  bytes,
size_t  n 
)
overridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::strings::CheckedArrayByteSink::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( CheckedArrayByteSink  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::strings::CheckedArrayByteSink::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( CheckedArrayByteSink  )
private

◆ NumberOfBytesWritten() [1/2]

size_t google::protobuf::strings::CheckedArrayByteSink::NumberOfBytesWritten ( ) const
inline

◆ NumberOfBytesWritten() [2/2]

size_t google::protobuf::strings::CheckedArrayByteSink::NumberOfBytesWritten ( ) const
inline

◆ Overflowed() [1/2]

bool google::protobuf::strings::CheckedArrayByteSink::Overflowed ( ) const
inline

◆ Overflowed() [2/2]

bool google::protobuf::strings::CheckedArrayByteSink::Overflowed ( ) const
inline

Member Data Documentation

◆ capacity_

const size_t google::protobuf::strings::CheckedArrayByteSink::capacity_
private

◆ outbuf_

char * google::protobuf::strings::CheckedArrayByteSink::outbuf_
private

◆ overflowed_

bool google::protobuf::strings::CheckedArrayByteSink::overflowed_
private

◆ size_

size_t google::protobuf::strings::CheckedArrayByteSink::size_
private

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


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