[api] Use stack buffer for VERY_VERBOSE proto message dumps (#13176)

This commit is contained in:
J. Nick Koston
2026-01-13 08:04:48 -10:00
committed by GitHub
parent 7abb374f2a
commit 7fed9144a6
8 changed files with 661 additions and 421 deletions
-8
View File
@@ -139,12 +139,4 @@ void ProtoDecodableMessage::decode(const uint8_t *buffer, size_t length) {
}
}
#ifdef HAS_PROTO_MESSAGE_DUMP
std::string ProtoMessage::dump() const {
std::string out;
this->dump_to(out);
return out;
}
#endif
} // namespace esphome::api