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

#include <gzip_stream.h>

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

Public Types

enum  Format {
  AUTO = 0, GZIP = 1, ZLIB = 2, AUTO = 0,
  GZIP = 1, ZLIB = 2
}
 
enum  Format {
  AUTO = 0, GZIP = 1, ZLIB = 2, AUTO = 0,
  GZIP = 1, ZLIB = 2
}
 

Public Member Functions

void BackUp (int count)
 
void BackUp (int count) override
 
int64 ByteCount () const
 
int64_t ByteCount () const override
 
 GzipInputStream (ZeroCopyInputStream *sub_stream, Format format=AUTO, int buffer_size=-1)
 
 GzipInputStream (ZeroCopyInputStream *sub_stream, Format format=AUTO, int buffer_size=-1)
 
bool Next (const void **data, int *size)
 
bool Next (const void **data, int *size) override
 
bool Skip (int count)
 
bool Skip (int count) override
 
int ZlibErrorCode () const
 
int ZlibErrorCode () const
 
const char * ZlibErrorMessage () const
 
const char * ZlibErrorMessage () const
 
virtual ~GzipInputStream ()
 
virtual ~GzipInputStream ()
 
- Public Member Functions inherited from google::protobuf::io::ZeroCopyInputStream
 ZeroCopyInputStream ()
 
 ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 
virtual ~ZeroCopyInputStream ()
 

Private Member Functions

void DoNextOutput (const void **data, int *size)
 
void DoNextOutput (const void **data, int *size)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (GzipInputStream)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (GzipInputStream)
 
int Inflate (int flush)
 
int Inflate (int flush)
 

Private Attributes

int64 byte_count_
 
int64_t byte_count_
 
Format format_
 
void * output_buffer_
 
size_t output_buffer_length_
 
void * output_position_
 
ZeroCopyInputStreamsub_stream_
 
z_stream zcontext_
 
int zerror_
 

Detailed Description

Definition at line 58 of file bloaty/third_party/protobuf/src/google/protobuf/io/gzip_stream.h.

Member Enumeration Documentation

◆ Format [1/2]

Enumerator
AUTO 
GZIP 
ZLIB 
AUTO 
GZIP 
ZLIB 

Definition at line 61 of file bloaty/third_party/protobuf/src/google/protobuf/io/gzip_stream.h.

◆ Format [2/2]

Enumerator
AUTO 
GZIP 
ZLIB 
AUTO 
GZIP 
ZLIB 

Definition at line 62 of file protobuf/src/google/protobuf/io/gzip_stream.h.

Constructor & Destructor Documentation

◆ GzipInputStream() [1/2]

google::protobuf::io::GzipInputStream::GzipInputStream ( ZeroCopyInputStream sub_stream,
Format  format = AUTO,
int  buffer_size = -1 
)
explicit

◆ ~GzipInputStream() [1/2]

virtual google::protobuf::io::GzipInputStream::~GzipInputStream ( )
virtual

◆ GzipInputStream() [2/2]

google::protobuf::io::GzipInputStream::GzipInputStream ( ZeroCopyInputStream sub_stream,
Format  format = AUTO,
int  buffer_size = -1 
)
explicit

◆ ~GzipInputStream() [2/2]

virtual google::protobuf::io::GzipInputStream::~GzipInputStream ( )
virtual

Member Function Documentation

◆ BackUp() [1/2]

void google::protobuf::io::GzipInputStream::BackUp ( int  count)
virtual

◆ BackUp() [2/2]

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

◆ ByteCount() [1/2]

int64 google::protobuf::io::GzipInputStream::ByteCount ( ) const
virtual

◆ ByteCount() [2/2]

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

◆ DoNextOutput() [1/2]

void google::protobuf::io::GzipInputStream::DoNextOutput ( const void **  data,
int size 
)
private

◆ DoNextOutput() [2/2]

void google::protobuf::io::GzipInputStream::DoNextOutput ( const void **  data,
int size 
)
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

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

◆ Inflate() [1/2]

int google::protobuf::io::GzipInputStream::Inflate ( int  flush)
private

◆ Inflate() [2/2]

int google::protobuf::io::GzipInputStream::Inflate ( int  flush)
private

◆ Next() [1/2]

bool google::protobuf::io::GzipInputStream::Next ( const void **  data,
int size 
)
virtual

◆ Next() [2/2]

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

◆ Skip() [1/2]

bool google::protobuf::io::GzipInputStream::Skip ( int  count)
virtual

◆ Skip() [2/2]

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

◆ ZlibErrorCode() [1/2]

int google::protobuf::io::GzipInputStream::ZlibErrorCode ( ) const
inline

◆ ZlibErrorCode() [2/2]

int google::protobuf::io::GzipInputStream::ZlibErrorCode ( ) const
inline

◆ ZlibErrorMessage() [1/2]

const char* google::protobuf::io::GzipInputStream::ZlibErrorMessage ( ) const
inline

◆ ZlibErrorMessage() [2/2]

const char* google::protobuf::io::GzipInputStream::ZlibErrorMessage ( ) const
inline

Member Data Documentation

◆ byte_count_ [1/2]

int64 google::protobuf::io::GzipInputStream::byte_count_
private

◆ byte_count_ [2/2]

int64_t google::protobuf::io::GzipInputStream::byte_count_
private

◆ format_

Format google::protobuf::io::GzipInputStream::format_
private

◆ output_buffer_

void * google::protobuf::io::GzipInputStream::output_buffer_
private

◆ output_buffer_length_

size_t google::protobuf::io::GzipInputStream::output_buffer_length_
private

◆ output_position_

void * google::protobuf::io::GzipInputStream::output_position_
private

◆ sub_stream_

ZeroCopyInputStream * google::protobuf::io::GzipInputStream::sub_stream_
private

◆ zcontext_

z_stream google::protobuf::io::GzipInputStream::zcontext_
private

◆ zerror_

int google::protobuf::io::GzipInputStream::zerror_
private

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


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