mirror of
https://github.com/esphome/esphome.git
synced 2026-09-26 22:40:21 +00:00
The base64 character-to-byte conversion and output copy loop were duplicated in both the main decode loop and the tail/padding path. Extract into a shared static helper to reduce flash usage (-64 bytes on ESP32) and eliminate duplicated logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>