#include <proto.h>
Definition at line 180 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 |
◆ decode_to_message()
Decode the length-delimited data into an existing ProtoDecodableMessage instance.
This method allows decoding without templates, enabling use in contexts where the message type is not known at compile time. The ProtoDecodableMessage's decode() method will be called with the raw data and length.
- Parameters
-
Definition at line 786 of file proto.h.
◆ 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: