|
| ProtoWriteBuffer (std::vector< uint8_t > *buffer) |
|
void | write (uint8_t value) |
|
void | encode_varint_raw (ProtoVarInt value) |
|
void | encode_varint_raw (uint32_t value) |
|
void | encode_field_raw (uint32_t field_id, uint32_t type) |
|
void | encode_string (uint32_t field_id, const char *string, size_t len, bool force=false) |
|
void | encode_string (uint32_t field_id, const std::string &value, bool force=false) |
|
void | encode_bytes (uint32_t field_id, const uint8_t *data, size_t len, bool force=false) |
|
void | encode_uint32 (uint32_t field_id, uint32_t value, bool force=false) |
|
void | encode_uint64 (uint32_t field_id, uint64_t value, bool force=false) |
|
void | encode_bool (uint32_t field_id, bool value, bool force=false) |
|
void | encode_fixed32 (uint32_t field_id, uint32_t value, bool force=false) |
|
void | encode_fixed64 (uint32_t field_id, uint64_t value, bool force=false) |
|
template<typename T > |
void | encode_enum (uint32_t field_id, T value, bool force=false) |
|
void | encode_float (uint32_t field_id, float value, bool force=false) |
|
void | encode_int32 (uint32_t field_id, int32_t value, bool force=false) |
|
void | encode_int64 (uint32_t field_id, int64_t value, bool force=false) |
|
void | encode_sint32 (uint32_t field_id, int32_t value, bool force=false) |
|
void | encode_sint64 (uint32_t field_id, int64_t value, bool force=false) |
|
template<class C > |
void | encode_message (uint32_t field_id, const C &value, bool force=false) |
|
std::vector< uint8_t > * | get_buffer () const |
|
Definition at line 146 of file proto.h.