mirror of
https://github.com/espressif/openthread.git
synced 2026-06-06 05:24:51 +00:00
4b918f85f0
This commit adds a new template class `ot::String<size>` which implements a fixed-length character string. This class is then used as return value of `ToString()` methods from different classes. This simplifies the `ToString()` implementation and its use. This commit also adds a unit test for `String`.