107 #ifndef GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_H__
108 #define GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_H__
119 class ZeroCopyInputStream;
120 class ZeroCopyOutputStream;
145 virtual bool Next(
const void** data,
int* size) = 0;
163 virtual void BackUp(
int count) = 0;
169 virtual bool Skip(
int count) = 0;
172 virtual int64 ByteCount()
const = 0;
206 virtual bool Next(
void** data,
int* size) = 0;
224 virtual void BackUp(
int count) = 0;
227 virtual int64 ByteCount()
const = 0;
236 virtual bool WriteAliasedRaw(
const void* data,
int size);
248 #endif // GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_H__
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
Definition: zero_copy_stream.h:181
#define LIBPROTOBUF_EXPORT
Definition: common.h:105
int64_t int64
Definition: common.h:173
ZeroCopyOutputStream()
Definition: zero_copy_stream.h:183
Definition: BnetFileGenerator.h:47
virtual bool AllowsAliasing() const
Definition: zero_copy_stream.h:237