ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
progmem.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::FixedString< N >
 Helper for C++20 string literal template arguments. More...
 
struct  esphome::ProgmemStringTable< Strs >
 Compile-time string table that packs strings into a single blob with offset lookup. More...
 

Namespaces

namespace  esphome
 

Typedefs

using ProgmemStr = const __FlashStringHelper *
 

Functions

std::string esphome::progmem_string (ProgmemStr str)
 Copies a string stored with ESPHOME_F into a std::string.
 
const char * esphome::progmem_skip_strings (const char *blob, uint8_t idx)
 Skip idx strings in a packed NUL-separated blob that may live in flash.
 
template<typename Table >
int16_t esphome::progmem_string_table_find (const char *value, size_t len)
 The index of the string value (len bytes, in RAM) in a PROGMEM_STRING_TABLE, or -1 when it is not one of its strings.
 

Typedef Documentation

◆ ProgmemStr

typedef const char * ProgmemStr = const __FlashStringHelper *

Definition at line 31 of file progmem.h.