ESPHome 2026.3.0
Loading...
Searching...
No Matches
api_buffer.h File Reference

Go to the source code of this file.

Data Structures

class  esphome::api::APIBuffer
 Byte buffer that skips zero-initialization on resize(). More...
 

Namespaces

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

Functions

std::unique_ptr< uint8_t[]> esphome::api::make_buffer (size_t n)
 Helper to use make_unique_for_overwrite where available (skips zero-fill), falling back to make_unique on older GCC (ESP8266, LibreTiny).