Lines Matching refs:write
79 * Class to write to a protobuf stream.
81 * Each write method takes an ID code from the protoc generated classes
82 * and the value to write. To make a nested object, call start
94 * Write APIs for dumping protobuf data. Returns true if the write succeeds.
96 bool write(uint64_t fieldId, double val);
97 bool write(uint64_t fieldId, float val);
98 bool write(uint64_t fieldId, int val);
99 bool write(uint64_t fieldId, long long val);
100 bool write(uint64_t fieldId, bool val);
101 bool write(uint64_t fieldId, std::string val);
102 bool write(uint64_t fieldId, const char* val, size_t size);
105 * Starts a sub-message write session.
106 * Returns a token of this write session.
107 * Must call end(token) when finish write this sub-message.
120 * it is not able to write to ProtoOutputStream any more since the data is compact.