arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.7k stars 4.72k forks source link

Berry prepare for bytes() solidification #21545

Closed s-hadinger closed 1 month ago

s-hadinger commented 1 month ago

Description:

Prepare bytes class for solidification feature. Internally it has a new state "solidified" which makes the instance read-only.

Internal order of .size and .len attribute was reversed to ease future solidification code.

No functional change.

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

s-hadinger commented 1 month ago

Will do a single PR for bytes solidification later