#include <proto.h>
Definition at line 173 of file proto.h.
◆ ProtoLengthDelimited()
| esphome::api::ProtoLengthDelimited::ProtoLengthDelimited |
( |
const uint8_t * | value, |
|
|
size_t | length ) |
|
inlineexplicit |
◆ as_string()
| std::string esphome::api::ProtoLengthDelimited::as_string |
( |
| ) |
const |
|
inline |
◆ data()
| const uint8_t * esphome::api::ProtoLengthDelimited::data |
( |
| ) |
const |
|
inline |
◆ decode_to_message()
template<typename T >
| void esphome::api::ProtoLengthDelimited::decode_to_message |
( |
T & | msg | ) |
const |
Decode the length-delimited data into a message instance.
Template preserves concrete type so decode() resolves statically.
Definition at line 865 of file proto.h.
◆ size()
| size_t esphome::api::ProtoLengthDelimited::size |
( |
| ) |
const |
|
inline |
◆ length_
| const size_t esphome::api::ProtoLengthDelimited::length_ |
|
protected |
◆ value_
| const uint8_t* const esphome::api::ProtoLengthDelimited::value_ |
|
protected |
The documentation for this class was generated from the following file: