ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::frame_reader_detail::PayloadLength< F, FIELD > Struct Template Reference

#include <frame_reader.h>

Static Public Member Functions

static constexpr size_t get (const uint8_t *buf)
 

Static Public Attributes

static constexpr size_t KNOWN_AT = FIELD::KNOWN_AT
 
static constexpr size_t PAYLOAD_AT = F.payload_at != 0 ? F.payload_at : KNOWN_AT
 
static constexpr size_t MIN = PAYLOAD_AT + F.trailer
 

Detailed Description

template<LengthField F, class FIELD>
struct esphome::frame_reader_detail::PayloadLength< F, FIELD >

Definition at line 110 of file frame_reader.h.

Member Function Documentation

◆ get()

template<LengthField F, class FIELD >
static constexpr size_t esphome::frame_reader_detail::PayloadLength< F, FIELD >::get ( const uint8_t * buf)
inlinestaticconstexpr

Definition at line 116 of file frame_reader.h.

Field Documentation

◆ KNOWN_AT

template<LengthField F, class FIELD >
size_t esphome::frame_reader_detail::PayloadLength< F, FIELD >::KNOWN_AT = FIELD::KNOWN_AT
staticconstexpr

Definition at line 112 of file frame_reader.h.

◆ MIN

template<LengthField F, class FIELD >
size_t esphome::frame_reader_detail::PayloadLength< F, FIELD >::MIN = PAYLOAD_AT + F.trailer
staticconstexpr

Definition at line 115 of file frame_reader.h.

◆ PAYLOAD_AT

template<LengthField F, class FIELD >
size_t esphome::frame_reader_detail::PayloadLength< F, FIELD >::PAYLOAD_AT = F.payload_at != 0 ? F.payload_at : KNOWN_AT
staticconstexpr

Definition at line 113 of file frame_reader.h.


The documentation for this struct was generated from the following file: