1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00
This commit is contained in:
J. Nick Koston
2025-12-24 22:07:48 -10:00
parent 7f4fad74c2
commit 0e9aaf1a8b
2 changed files with 0 additions and 37 deletions

View File

@@ -887,7 +887,6 @@ class PointerToBytesBufferType(PointerToBufferTypeBase):
@property
def decode_length_content(self) -> str | None:
return f"""case {self.number}: {{
// Use raw data directly to avoid allocation
this->{self.field_name} = value.data();
this->{self.field_name}_len = value.size();
break;