Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::io::ArrayOutputStream Class Reference

#include <zero_copy_stream_impl_lite.h>

Inheritance diagram for google::protobuf::io::ArrayOutputStream:
Inheritance graph
[legend]

Public Member Functions

 ArrayOutputStream (void *data, int size, int block_size=-1)
 
 ArrayOutputStream (void *data, int size, int block_size=-1)
 
void BackUp (int count) override
 
void BackUp (int count) override
 
int64 ByteCount () const override
 
int64_t ByteCount () const override
 
bool Next (void **data, int *size) override
 
bool Next (void **data, int *size) override
 
 ~ArrayOutputStream () override=default
 
 ~ArrayOutputStream () override=default
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyOutputStream
virtual bool AllowsAliasing () const
 
virtual bool AllowsAliasing () const
 
virtual bool WriteAliasedRaw (const void *data, int size)
 
virtual bool WriteAliasedRaw (const void *data, int size)
 
 ZeroCopyOutputStream ()
 
 ZeroCopyOutputStream ()
 
virtual ~ZeroCopyOutputStream ()
 
virtual ~ZeroCopyOutputStream ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ArrayOutputStream)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ArrayOutputStream)
 

Private Attributes

const int block_size_
 
uint8 *const data_
 
uint8_t *const data_
 
int last_returned_size_
 
int position_
 
const int size_
 

Detailed Description

Definition at line 100 of file bloaty/third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h.

Constructor & Destructor Documentation

◆ ArrayOutputStream() [1/2]

google::protobuf::io::ArrayOutputStream::ArrayOutputStream ( void *  data,
int  size,
int  block_size = -1 
)

◆ ~ArrayOutputStream() [1/2]

google::protobuf::io::ArrayOutputStream::~ArrayOutputStream ( )
overridedefault

◆ ArrayOutputStream() [2/2]

google::protobuf::io::ArrayOutputStream::ArrayOutputStream ( void *  data,
int  size,
int  block_size = -1 
)

◆ ~ArrayOutputStream() [2/2]

google::protobuf::io::ArrayOutputStream::~ArrayOutputStream ( )
overridedefault

Member Function Documentation

◆ BackUp() [1/2]

void google::protobuf::io::ArrayOutputStream::BackUp ( int  count)
overridevirtual

◆ BackUp() [2/2]

void google::protobuf::io::ArrayOutputStream::BackUp ( int  count)
overridevirtual

◆ ByteCount() [1/2]

int64_t google::protobuf::io::ArrayOutputStream::ByteCount ( ) const
overridevirtual

◆ ByteCount() [2/2]

int64_t google::protobuf::io::ArrayOutputStream::ByteCount ( ) const
overridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::io::ArrayOutputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ArrayOutputStream  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::io::ArrayOutputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ArrayOutputStream  )
private

◆ Next() [1/2]

bool google::protobuf::io::ArrayOutputStream::Next ( void **  data,
int size 
)
overridevirtual

◆ Next() [2/2]

bool google::protobuf::io::ArrayOutputStream::Next ( void **  data,
int size 
)
overridevirtual

Member Data Documentation

◆ block_size_

const int google::protobuf::io::ArrayOutputStream::block_size_
private

◆ data_ [1/2]

uint8* const google::protobuf::io::ArrayOutputStream::data_
private

◆ data_ [2/2]

uint8_t* const google::protobuf::io::ArrayOutputStream::data_
private

◆ last_returned_size_

int google::protobuf::io::ArrayOutputStream::last_returned_size_
private

◆ position_

int google::protobuf::io::ArrayOutputStream::position_
private

◆ size_

const int google::protobuf::io::ArrayOutputStream::size_
private

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


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