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

#include <zero_copy_stream_impl_lite.h>

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

Public Member Functions

 ArrayInputStream (const void *data, int size, int block_size=-1)
 
 ArrayInputStream (const 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 (const void **data, int *size) override
 
bool Next (const void **data, int *size) override
 
bool Skip (int count) override
 
bool Skip (int count) override
 
 ~ArrayInputStream () override=default
 
 ~ArrayInputStream () override=default
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyInputStream
 ZeroCopyInputStream ()
 
 ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ArrayInputStream)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ArrayInputStream)
 

Private Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ArrayInputStream() [1/2]

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

◆ ~ArrayInputStream() [1/2]

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

◆ ArrayInputStream() [2/2]

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

◆ ~ArrayInputStream() [2/2]

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

Member Function Documentation

◆ BackUp() [1/2]

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

◆ BackUp() [2/2]

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

◆ ByteCount() [1/2]

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

◆ ByteCount() [2/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

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

◆ Next() [1/2]

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

◆ Next() [2/2]

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

◆ Skip() [1/2]

bool google::protobuf::io::ArrayInputStream::Skip ( int  count)
overridevirtual

◆ Skip() [2/2]

bool google::protobuf::io::ArrayInputStream::Skip ( int  count)
overridevirtual

Member Data Documentation

◆ block_size_

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

◆ data_ [1/2]

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

◆ data_ [2/2]

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

◆ last_returned_size_

int google::protobuf::io::ArrayInputStream::last_returned_size_
private

◆ position_

int google::protobuf::io::ArrayInputStream::position_
private

◆ size_

const int google::protobuf::io::ArrayInputStream::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