40 #ifndef GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_IMPL_H__
41 #define GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_IMPL_H__
88 int GetErrno() {
return copying_input_.GetErrno(); }
91 bool Next(
const void** data,
int* size);
92 void BackUp(
int count);
94 int64 ByteCount()
const;
107 int Read(
void* buffer,
int size);
171 int GetErrno() {
return copying_output_.GetErrno(); }
174 bool Next(
void** data,
int* size);
175 void BackUp(
int count);
176 int64 ByteCount()
const;
189 bool Write(
const void* buffer,
int size);
225 bool Next(
const void** data,
int* size);
226 void BackUp(
int count);
227 bool Skip(
int count);
228 int64 ByteCount()
const;
237 int Read(
void* buffer,
int size);
269 bool Next(
void** data,
int* size);
270 void BackUp(
int count);
271 int64 ByteCount()
const;
280 bool Write(
const void* buffer,
int size);
312 bool Next(
const void** data,
int* size);
313 void BackUp(
int count);
314 bool Skip(
int count);
315 int64 ByteCount()
const;
338 bool Next(
const void** data,
int* size);
339 void BackUp(
int count);
340 bool Skip(
int count);
341 int64 ByteCount()
const;
358 #endif // GOOGLE_PROTOBUF_IO_ZERO_COPY_STREAM_IMPL_H__
int GetErrno()
Definition: zero_copy_stream_impl.h:171
void SetCloseOnDelete(bool value)
Definition: zero_copy_stream_impl.h:165
CopyingFileOutputStream copying_output_
Definition: zero_copy_stream_impl.h:203
Definition: zero_copy_stream_impl.h:179
void SetCloseOnDelete(bool value)
Definition: zero_copy_stream_impl.h:185
bool is_closed_
Definition: zero_copy_stream_impl.h:195
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
Definition: common.h:89
Definition: zero_copy_stream_impl.h:141
CopyingOutputStreamAdaptor impl_
Definition: zero_copy_stream_impl.h:204
Definition: zero_copy_stream_impl.h:259
Definition: zero_copy_stream_impl.h:274
Definition: zero_copy_stream_impl_lite.h:263
const int file_
Definition: zero_copy_stream_impl.h:193
ostream * output_
Definition: zero_copy_stream_impl.h:284
int errno_
Definition: zero_copy_stream_impl.h:198
bool close_on_delete_
Definition: zero_copy_stream_impl.h:194
Definition: zero_copy_stream.h:181
CopyingOutputStreamAdaptor impl_
Definition: zero_copy_stream_impl.h:290
CopyingOstreamOutputStream copying_output_
Definition: zero_copy_stream_impl.h:289
#define LIBPROTOBUF_EXPORT
Definition: common.h:105
int GetErrno()
Definition: zero_copy_stream_impl.h:186
Definition: zero_copy_stream_impl_lite.h:279
int64_t int64
Definition: common.h:173
Definition: BnetFileGenerator.h:47
const FieldDescriptor value
Definition: descriptor.h:1522