#include <coded_stream.h>
|
static uint8 * | WriteRawToArray (const void *buffer, int size, uint8 *target) |
|
static uint8 * | WriteStringToArray (const string &str, uint8 *target) |
|
static uint8 * | WriteStringWithSizeToArray (const string &str, uint8 *target) |
|
static uint8 * | WriteLittleEndian32ToArray (uint32 value, uint8 *target) |
|
static uint8 * | WriteLittleEndian64ToArray (uint64 value, uint8 *target) |
|
static uint8 * | WriteVarint32ToArray (uint32 value, uint8 *target) |
|
static uint8 * | WriteVarint64ToArray (uint64 value, uint8 *target) |
|
static uint8 * | WriteVarint32SignExtendedToArray (int32 value, uint8 *target) |
|
static uint8 * | WriteTagToArray (uint32 value, uint8 *target) GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
|
static int | VarintSize32 (uint32 value) |
|
static int | VarintSize64 (uint64 value) |
|
static int | VarintSize32SignExtended (int32 value) |
|
google::protobuf::io::CodedOutputStream::~CodedOutputStream |
( |
| ) |
|
void google::protobuf::io::CodedOutputStream::Advance |
( |
int |
amount | ) |
|
|
inlineprivate |
uint8 * buffer_
Definition: coded_stream.h:755
int buffer_size_
Definition: coded_stream.h:756
int google::protobuf::io::CodedOutputStream::ByteCount |
( |
| ) |
const |
|
inline |
int total_bytes_
Definition: coded_stream.h:757
int buffer_size_
Definition: coded_stream.h:756
void google::protobuf::io::CodedOutputStream::EnableAliasing |
( |
bool |
enabled | ) |
|
uint8 * google::protobuf::io::CodedOutputStream::GetDirectBufferForNBytesAndAdvance |
( |
int |
size | ) |
|
|
inline |
uint8 * buffer_
Definition: coded_stream.h:755
arena_t NULL
Definition: jemalloc_internal.h:624
void Advance(int amount)
Definition: coded_stream.h:1129
uint8_t uint8
Definition: Define.h:152
int buffer_size_
Definition: coded_stream.h:756
bool google::protobuf::io::CodedOutputStream::GetDirectBufferPointer |
( |
void ** |
data, |
|
|
int * |
size |
|
) |
| |
google::protobuf::io::CodedOutputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
CodedOutputStream |
| ) |
|
|
private |
bool google::protobuf::io::CodedOutputStream::HadError |
( |
| ) |
const |
|
inline |
bool had_error_
Definition: coded_stream.h:758
bool google::protobuf::io::CodedOutputStream::Refresh |
( |
| ) |
|
|
private |
bool google::protobuf::io::CodedOutputStream::Skip |
( |
int |
count | ) |
|
int google::protobuf::io::CodedOutputStream::VarintSize32 |
( |
uint32 |
value | ) |
|
|
inlinestatic |
1088 if (
value < (1 << 7)) {
static int VarintSize32Fallback(uint32 value)
const FieldDescriptor value
Definition: descriptor.h:1522
static int google::protobuf::io::CodedOutputStream::VarintSize32Fallback |
( |
uint32 |
value | ) |
|
|
staticprivate |
int google::protobuf::io::CodedOutputStream::VarintSize32SignExtended |
( |
int32 |
value | ) |
|
|
inlinestatic |
const FieldDescriptor value
Definition: descriptor.h:1522
static int VarintSize32(uint32 value)
Definition: coded_stream.h:1087
static int google::protobuf::io::CodedOutputStream::VarintSize64 |
( |
uint64 |
value | ) |
|
|
static |
void google::protobuf::io::CodedOutputStream::WriteAliasedRaw |
( |
const void * |
buffer, |
|
|
int |
size |
|
) |
| |
|
private |
void google::protobuf::io::CodedOutputStream::WriteLittleEndian32 |
( |
uint32 |
value | ) |
|
uint8 * google::protobuf::io::CodedOutputStream::WriteLittleEndian32ToArray |
( |
uint32 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
inlinestatic |
1038 #if defined(PROTOBUF_LITTLE_ENDIAN)
1046 return target +
sizeof(
value);
uint8_t uint8
Definition: Define.h:152
const FieldDescriptor value
Definition: descriptor.h:1522
void google::protobuf::io::CodedOutputStream::WriteLittleEndian64 |
( |
uint64 |
value | ) |
|
uint8 * google::protobuf::io::CodedOutputStream::WriteLittleEndian64ToArray |
( |
uint64 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
inlinestatic |
1051 #if defined(PROTOBUF_LITTLE_ENDIAN)
1057 target[0] =
static_cast<uint8>(part0);
1058 target[1] =
static_cast<uint8>(part0 >> 8);
1059 target[2] =
static_cast<uint8>(part0 >> 16);
1060 target[3] =
static_cast<uint8>(part0 >> 24);
1061 target[4] =
static_cast<uint8>(part1);
1062 target[5] =
static_cast<uint8>(part1 >> 8);
1063 target[6] =
static_cast<uint8>(part1 >> 16);
1064 target[7] =
static_cast<uint8>(part1 >> 24);
1066 return target +
sizeof(
value);
uint32_t uint32
Definition: Define.h:150
uint8_t uint8
Definition: Define.h:152
const FieldDescriptor value
Definition: descriptor.h:1522
void google::protobuf::io::CodedOutputStream::WriteRaw |
( |
const void * |
buffer, |
|
|
int |
size |
|
) |
| |
void google::protobuf::io::CodedOutputStream::WriteRawMaybeAliased |
( |
const void * |
data, |
|
|
int |
size |
|
) |
| |
|
inline |
void WriteRaw(const void *buffer, int size)
void WriteAliasedRaw(const void *buffer, int size)
bool aliasing_enabled_
Definition: coded_stream.h:759
static uint8* google::protobuf::io::CodedOutputStream::WriteRawToArray |
( |
const void * |
buffer, |
|
|
int |
size, |
|
|
uint8 * |
target |
|
) |
| |
|
static |
void google::protobuf::io::CodedOutputStream::WriteString |
( |
const string & |
str | ) |
|
|
inline |
1104 WriteRaw(str.data(),
static_cast<int>(str.size()));
void WriteRaw(const void *buffer, int size)
uint8 * google::protobuf::io::CodedOutputStream::WriteStringToArray |
( |
const string & |
str, |
|
|
uint8 * |
target |
|
) |
| |
|
inlinestatic |
1118 return WriteRawToArray(str.data(),
static_cast<int>(str.size()), target);
static uint8 * WriteRawToArray(const void *buffer, int size, uint8 *target)
static uint8* google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray |
( |
const string & |
str, |
|
|
uint8 * |
target |
|
) |
| |
|
static |
void google::protobuf::io::CodedOutputStream::WriteTag |
( |
uint32 |
value | ) |
|
|
inline |
void WriteVarint32(uint32 value)
const FieldDescriptor value
Definition: descriptor.h:1522
uint8 * google::protobuf::io::CodedOutputStream::WriteTagToArray |
( |
uint32 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
inlinestatic |
1075 if (
value < (1 << 7)) {
1078 }
else if (
value < (1 << 14)) {
1079 target[0] =
static_cast<uint8>(
value | 0x80);
static uint8 * WriteVarint32FallbackToArray(uint32 value, uint8 *target)
uint8_t uint8
Definition: Define.h:152
const FieldDescriptor value
Definition: descriptor.h:1522
void google::protobuf::io::CodedOutputStream::WriteVarint32 |
( |
uint32 |
value | ) |
|
static uint8* google::protobuf::io::CodedOutputStream::WriteVarint32FallbackToArray |
( |
uint32 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
staticprivate |
static uint8* google::protobuf::io::CodedOutputStream::WriteVarint32FallbackToArrayInline |
( |
uint32 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
staticprivate |
void google::protobuf::io::CodedOutputStream::WriteVarint32SignExtended |
( |
int32 |
value | ) |
|
|
inline |
void WriteVarint64(uint64 value)
void WriteVarint32(uint32 value)
const FieldDescriptor value
Definition: descriptor.h:1522
uint8 * google::protobuf::io::CodedOutputStream::WriteVarint32SignExtendedToArray |
( |
int32 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
inlinestatic |
static uint8 * WriteVarint32ToArray(uint32 value, uint8 *target)
Definition: coded_stream.h:1009
static uint8 * WriteVarint64ToArray(uint64 value, uint8 *target)
const FieldDescriptor value
Definition: descriptor.h:1522
uint8 * google::protobuf::io::CodedOutputStream::WriteVarint32ToArray |
( |
uint32 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
inlinestatic |
static uint8 * WriteVarint32FallbackToArray(uint32 value, uint8 *target)
const FieldDescriptor value
Definition: descriptor.h:1522
void google::protobuf::io::CodedOutputStream::WriteVarint64 |
( |
uint64 |
value | ) |
|
static uint8* google::protobuf::io::CodedOutputStream::WriteVarint64ToArray |
( |
uint64 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
static |
static uint8* google::protobuf::io::CodedOutputStream::WriteVarint64ToArrayInline |
( |
uint64 |
value, |
|
|
uint8 * |
target |
|
) |
| |
|
staticprivate |
bool google::protobuf::io::CodedOutputStream::aliasing_enabled_ |
|
private |
uint8* google::protobuf::io::CodedOutputStream::buffer_ |
|
private |
int google::protobuf::io::CodedOutputStream::buffer_size_ |
|
private |
bool google::protobuf::io::CodedOutputStream::had_error_ |
|
private |
int google::protobuf::io::CodedOutputStream::total_bytes_ |
|
private |
The documentation for this class was generated from the following file: