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

#include <gzip_stream.h>

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

Classes

struct  Options
 

Public Types

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

Public Member Functions

void BackUp (int count)
 
void BackUp (int count) override
 
int64 ByteCount () const
 
int64_t ByteCount () const override
 
bool Close ()
 
bool Close ()
 
bool Flush ()
 
bool Flush ()
 
 GzipOutputStream (ZeroCopyOutputStream *sub_stream)
 
 GzipOutputStream (ZeroCopyOutputStream *sub_stream)
 
 GzipOutputStream (ZeroCopyOutputStream *sub_stream, const Options &options)
 
 GzipOutputStream (ZeroCopyOutputStream *sub_stream, const Options &options)
 
bool Next (void **data, int *size)
 
bool Next (void **data, int *size) override
 
int ZlibErrorCode () const
 
int ZlibErrorCode () const
 
const char * ZlibErrorMessage () const
 
const char * ZlibErrorMessage () const
 
virtual ~GzipOutputStream ()
 
virtual ~GzipOutputStream ()
 
- 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

int Deflate (int flush)
 
int Deflate (int flush)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (GzipOutputStream)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (GzipOutputStream)
 
void Init (ZeroCopyOutputStream *sub_stream, const Options &options)
 
void Init (ZeroCopyOutputStream *sub_stream, const Options &options)
 

Private Attributes

void * input_buffer_
 
size_t input_buffer_length_
 
void * sub_data_
 
int sub_data_size_
 
ZeroCopyOutputStreamsub_stream_
 
z_stream zcontext_
 
int zerror_
 

Detailed Description

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

Member Enumeration Documentation

◆ Format [1/2]

Enumerator
GZIP 
ZLIB 
GZIP 
ZLIB 

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

◆ Format [2/2]

Enumerator
GZIP 
ZLIB 
GZIP 
ZLIB 

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

Constructor & Destructor Documentation

◆ GzipOutputStream() [1/4]

google::protobuf::io::GzipOutputStream::GzipOutputStream ( ZeroCopyOutputStream sub_stream)
explicit

◆ GzipOutputStream() [2/4]

google::protobuf::io::GzipOutputStream::GzipOutputStream ( ZeroCopyOutputStream sub_stream,
const Options options 
)

◆ ~GzipOutputStream() [1/2]

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

◆ GzipOutputStream() [3/4]

google::protobuf::io::GzipOutputStream::GzipOutputStream ( ZeroCopyOutputStream sub_stream)
explicit

◆ GzipOutputStream() [4/4]

google::protobuf::io::GzipOutputStream::GzipOutputStream ( ZeroCopyOutputStream sub_stream,
const Options options 
)

◆ ~GzipOutputStream() [2/2]

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

Member Function Documentation

◆ BackUp() [1/2]

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

◆ BackUp() [2/2]

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

◆ ByteCount() [1/2]

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

◆ ByteCount() [2/2]

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

◆ Close() [1/2]

bool google::protobuf::io::GzipOutputStream::Close ( )

◆ Close() [2/2]

bool google::protobuf::io::GzipOutputStream::Close ( )

◆ Deflate() [1/2]

int google::protobuf::io::GzipOutputStream::Deflate ( int  flush)
private

◆ Deflate() [2/2]

int google::protobuf::io::GzipOutputStream::Deflate ( int  flush)
private

◆ Flush() [1/2]

bool google::protobuf::io::GzipOutputStream::Flush ( )

◆ Flush() [2/2]

bool google::protobuf::io::GzipOutputStream::Flush ( )

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

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

◆ Init() [1/2]

void google::protobuf::io::GzipOutputStream::Init ( ZeroCopyOutputStream sub_stream,
const Options options 
)
private

◆ Init() [2/2]

void google::protobuf::io::GzipOutputStream::Init ( ZeroCopyOutputStream sub_stream,
const Options options 
)
private

◆ Next() [1/2]

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

◆ Next() [2/2]

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

◆ ZlibErrorCode() [1/2]

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

◆ ZlibErrorCode() [2/2]

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

◆ ZlibErrorMessage() [1/2]

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

◆ ZlibErrorMessage() [2/2]

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

Member Data Documentation

◆ input_buffer_

void * google::protobuf::io::GzipOutputStream::input_buffer_
private

◆ input_buffer_length_

size_t google::protobuf::io::GzipOutputStream::input_buffer_length_
private

◆ sub_data_

void * google::protobuf::io::GzipOutputStream::sub_data_
private

◆ sub_data_size_

int google::protobuf::io::GzipOutputStream::sub_data_size_
private

◆ sub_stream_

ZeroCopyOutputStream * google::protobuf::io::GzipOutputStream::sub_stream_
private

◆ zcontext_

z_stream google::protobuf::io::GzipOutputStream::zcontext_
private

◆ zerror_

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