ESPHome 2025.9.0-dev
Loading...
Searching...
No Matches
proto.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::api::ProtoVarInt
 Representation of a VarInt - in ProtoBuf should be 64bit but we only use 32bit. More...
 
class  esphome::api::ProtoLengthDelimited
 
class  esphome::api::Proto32Bit
 
class  esphome::api::ProtoWriteBuffer
 
class  esphome::api::ProtoMessage
 
class  esphome::api::ProtoDecodableMessage
 
class  esphome::api::ProtoSize
 
class  esphome::api::ProtoService
 

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::api
 

Functions

constexpr uint32_t esphome::api::encode_zigzag32 (int32_t value)
 
constexpr uint64_t esphome::api::encode_zigzag64 (int64_t value)
 
constexpr int32_t esphome::api::decode_zigzag32 (uint32_t value)
 
constexpr int64_t esphome::api::decode_zigzag64 (uint64_t value)
 
template<typename T >
const char * esphome::api::proto_enum_to_string (T value)