mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 01:44:20 -07:00
6369f3b279b63d284c53c737d78c7f06e0dcdc9d
Pass ProtoWriteBuffer by reference instead of by value in virtual encode() methods. This avoids copying both buffer_ and pos_ pointers for every encode call - only a single pointer is passed. Also simplifies encode_message since child writes directly advance the shared pos_. Adds debug_check_size_ to verify calculate_size matches actual encode output.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
516 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
