mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00: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
596 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
