Records
-
class ArrayInputStream -
class ArrayOutputStream -
class CodedInputStream -
class CodedOutputStream -
class ConcatenatingInputStream -
class CopyingInputStream -
class CopyingInputStreamAdaptor -
class CopyingOutputStream -
class CopyingOutputStreamAdaptor -
class CordInputStream -
class CordOutputStream -
class EpsCopyOutputStream -
class FileInputStream -
class FileOutputStream -
class IstreamInputStream -
class LimitingInputStream -
class OstreamOutputStream -
class Printer -
class StringOutputStream -
class ZeroCopyInputStream -
class ZeroCopyOutputStream
Functions
-
char * mutable_string_data (std::string * s)Return a pointer to mutable characters underlying the given string. The
return value is valid until the next time the string is resized. We
trust the caller to treat the return value as an array of length s->size().
Defined at line 499 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h
-
std::pair<char *, bool> as_string_data (std::string * s)as_string_data(s) is equivalent to
({ char* p = mutable_string_data(s); make_pair(p, p != NULL); })
Sometimes it's faster: in some scenarios p cannot be NULL, and then the
code can avoid that check.
Defined at line 507 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h