Classes | Namespaces | Macros | Functions
protobuf/src/google/protobuf/wire_format_lite.h File Reference
#include <string>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/port.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/stubs/casts.h>
#include <google/protobuf/port_def.inc>
#include <google/protobuf/port_undef.inc>
Include dependency graph for protobuf/src/google/protobuf/wire_format_lite.h:

Go to the source code of this file.

Classes

class  google::protobuf.internal::CodedOutputStreamFieldSkipper
 
class  google::protobuf.internal::FieldSkipper
 
class  google::protobuf.internal::WireFormatLite
 

Namespaces

 google
 
 google::protobuf
 
 google.protobuf.internal
 

Macros

#define GOOGLE_PROTOBUF_UTF8_VALIDATION_ENABLED
 
#define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG(FIELD_NUMBER, TYPE)   static_cast<uint32_t>((static_cast<uint32_t>(FIELD_NUMBER) << 3) | (TYPE))
 
#define READ_REPEATED_FIXED_SIZE_PRIMITIVE(CPPTYPE, DECLARED_TYPE)
 
#define READ_REPEATED_PACKED_FIXED_SIZE_PRIMITIVE(CPPTYPE, DECLARED_TYPE)
 

Functions

size_t google.protobuf.internal::ComputeUnknownMessageSetItemsSize (const std::string &unknown_fields)
 
uint8 * google.protobuf.internal::InternalSerializeUnknownMessageSetItemsToArray (const std::string &unknown_fields, uint8 *target, io::EpsCopyOutputStream *stream)
 
template<typename MS >
bool google.protobuf.internal::ParseMessageSetItemImpl (io::CodedInputStream *input, MS ms)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< bool, WireFormatLite::TYPE_BOOL > (io::CodedInputStream *input, bool *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< double, WireFormatLite::TYPE_DOUBLE > (io::CodedInputStream *input, double *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< float, WireFormatLite::TYPE_FLOAT > (io::CodedInputStream *input, float *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int, WireFormatLite::TYPE_ENUM > (io::CodedInputStream *input, int *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int32_t, WireFormatLite::TYPE_INT32 > (io::CodedInputStream *input, int32_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int32_t, WireFormatLite::TYPE_SFIXED32 > (io::CodedInputStream *input, int32_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int32_t, WireFormatLite::TYPE_SINT32 > (io::CodedInputStream *input, int32_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int64_t, WireFormatLite::TYPE_INT64 > (io::CodedInputStream *input, int64_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int64_t, WireFormatLite::TYPE_SFIXED64 > (io::CodedInputStream *input, int64_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< int64_t, WireFormatLite::TYPE_SINT64 > (io::CodedInputStream *input, int64_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< uint32_t, WireFormatLite::TYPE_FIXED32 > (io::CodedInputStream *input, uint32_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< uint32_t, WireFormatLite::TYPE_UINT32 > (io::CodedInputStream *input, uint32_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< uint64_t, WireFormatLite::TYPE_FIXED64 > (io::CodedInputStream *input, uint64_t *value)
 
template<>
bool google.protobuf.internal::WireFormatLite::ReadPrimitive< uint64_t, WireFormatLite::TYPE_UINT64 > (io::CodedInputStream *input, uint64_t *value)
 
template<>
const uint8 * google.protobuf.internal::WireFormatLite::ReadPrimitiveFromArray< double, WireFormatLite::TYPE_DOUBLE > (const uint8 *buffer, double *value)
 
template<>
const uint8 * google.protobuf.internal::WireFormatLite::ReadPrimitiveFromArray< float, WireFormatLite::TYPE_FLOAT > (const uint8 *buffer, float *value)
 
template<>
const uint8_tgoogle.protobuf.internal::WireFormatLite::ReadPrimitiveFromArray< int32_t, WireFormatLite::TYPE_SFIXED32 > (const uint8_t *buffer, int32_t *value)
 
template<>
const uint8_tgoogle.protobuf.internal::WireFormatLite::ReadPrimitiveFromArray< int64_t, WireFormatLite::TYPE_SFIXED64 > (const uint8_t *buffer, int64_t *value)
 
template<>
const uint8_tgoogle.protobuf.internal::WireFormatLite::ReadPrimitiveFromArray< uint32_t, WireFormatLite::TYPE_FIXED32 > (const uint8_t *buffer, uint32_t *value)
 
template<>
const uint8_tgoogle.protobuf.internal::WireFormatLite::ReadPrimitiveFromArray< uint64_t, WireFormatLite::TYPE_FIXED64 > (const uint8_t *buffer, uint64_t *value)
 

Macro Definition Documentation

◆ GOOGLE_PROTOBUF_UTF8_VALIDATION_ENABLED

#define GOOGLE_PROTOBUF_UTF8_VALIDATION_ENABLED

◆ GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG

#define GOOGLE_PROTOBUF_WIRE_FORMAT_MAKE_TAG (   FIELD_NUMBER,
  TYPE 
)    static_cast<uint32_t>((static_cast<uint32_t>(FIELD_NUMBER) << 3) | (TYPE))

◆ READ_REPEATED_FIXED_SIZE_PRIMITIVE

#define READ_REPEATED_FIXED_SIZE_PRIMITIVE (   CPPTYPE,
  DECLARED_TYPE 
)
Value:
template <> \
inline bool WireFormatLite::ReadRepeatedPrimitive< \
CPPTYPE, WireFormatLite::DECLARED_TYPE>( \
RepeatedField<CPPTYPE>* values) { \
return ReadRepeatedFixedSizePrimitive<CPPTYPE, \
WireFormatLite::DECLARED_TYPE>( \
tag_size, tag, input, values); \
}

Definition at line 1125 of file protobuf/src/google/protobuf/wire_format_lite.h.

◆ READ_REPEATED_PACKED_FIXED_SIZE_PRIMITIVE

#define READ_REPEATED_PACKED_FIXED_SIZE_PRIMITIVE (   CPPTYPE,
  DECLARED_TYPE 
)
Value:
template <> \
inline bool \
WireFormatLite::ReadPackedPrimitive<CPPTYPE, WireFormatLite::DECLARED_TYPE>( \
return ReadPackedFixedSizePrimitive<CPPTYPE, \
WireFormatLite::DECLARED_TYPE>( \
input, values); \
}

Definition at line 1230 of file protobuf/src/google/protobuf/wire_format_lite.h.

uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
tag
static void * tag(intptr_t t)
Definition: bad_client.cc:318
grpc::protobuf::io::CodedInputStream
GRPC_CUSTOM_CODEDINPUTSTREAM CodedInputStream
Definition: include/grpcpp/impl/codegen/config_protobuf.h:102
values
std::array< int64_t, Size > values
Definition: abseil-cpp/absl/container/btree_benchmark.cc:608
input
std::string input
Definition: bloaty/third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc:197
RepeatedField
Definition: bloaty/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.h:403


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:38