43 #ifndef GOOGLE_PROTOBUF_IO_GZIP_STREAM_H__
44 #define GOOGLE_PROTOBUF_IO_GZIP_STREAM_H__
74 int buffer_size = -1);
86 bool Next(
const void** data,
int* size);
87 void BackUp(
int count);
89 int64 ByteCount()
const;
103 int Inflate(
int flush);
104 void DoNextOutput(
const void** data,
int* size);
152 return zcontext_.msg;
179 bool Next(
void** data,
int* size);
180 void BackUp(
int count);
181 int64 ByteCount()
const;
200 int Deflate(
int flush);
209 #endif // GOOGLE_PROTOBUF_IO_GZIP_STREAM_H__
void format(BasicFormatter< Char > &f, const Char *&format_str, const T &value)
Definition: format.h:2963
size_t input_buffer_length_
Definition: gzip_stream.h:192
int sub_data_size_
Definition: gzip_stream.h:187
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
int compression_strategy
Definition: gzip_stream.h:135
int buffer_size
Definition: gzip_stream.h:126
int zerror_
Definition: gzip_stream.h:190
z_stream zcontext_
Definition: gzip_stream.h:189
Format
Definition: gzip_stream.h:113
Definition: gzip_stream.h:110
void * input_buffer_
Definition: gzip_stream.h:191
const char * ZlibErrorMessage() const
Definition: gzip_stream.h:151
Definition: gzip_stream.h:121
Definition: zero_copy_stream.h:181
Format format
Definition: gzip_stream.h:123
#define LIBPROTOBUF_EXPORT
Definition: common.h:105
int64_t int64
Definition: common.h:173
int compression_level
Definition: gzip_stream.h:130
int ZlibErrorCode() const
Definition: gzip_stream.h:154
Definition: BnetFileGenerator.h:47
void * sub_data_
Definition: gzip_stream.h:186
#define GZIP
Definition: deflate.h:23
ZeroCopyOutputStream * sub_stream_
Definition: gzip_stream.h:184