BWAPI
|
#include <gzip_stream.h>
Public Types | |
enum | Format { AUTO = 0, GZIP = 1, ZLIB = 2 } |
Public Member Functions | |
GzipInputStream (ZeroCopyInputStream *sub_stream, Format format=AUTO, int buffer_size=-1) | |
virtual | ~GzipInputStream () |
const char * | ZlibErrorMessage () const |
int | ZlibErrorCode () const |
bool | Next (const void **data, int *size) |
void | BackUp (int count) |
bool | Skip (int count) |
int64 | ByteCount () const |
google::protobuf::io::GzipInputStream::GzipInputStream | ( | ZeroCopyInputStream * | sub_stream, |
Format | format = AUTO , |
||
int | buffer_size = -1 |
||
) | [explicit] |
virtual google::protobuf::io::GzipInputStream::~GzipInputStream | ( | ) | [virtual] |
void google::protobuf::io::GzipInputStream::BackUp | ( | int | count | ) | [virtual] |
Implements google::protobuf::io::ZeroCopyInputStream.
int64 google::protobuf::io::GzipInputStream::ByteCount | ( | ) | const [virtual] |
Implements google::protobuf::io::ZeroCopyInputStream.
bool google::protobuf::io::GzipInputStream::Next | ( | const void ** | data, |
int * | size | ||
) | [virtual] |
Implements google::protobuf::io::ZeroCopyInputStream.
bool google::protobuf::io::GzipInputStream::Skip | ( | int | count | ) | [virtual] |
Implements google::protobuf::io::ZeroCopyInputStream.
int google::protobuf::io::GzipInputStream::ZlibErrorCode | ( | ) | const [inline] |
const char* google::protobuf::io::GzipInputStream::ZlibErrorMessage | ( | ) | const [inline] |