Returns the size (in bytes) of an string with n characters.
| 69 | |
| 70 | // Returns the size (in bytes) of an string with n characters. |
| 71 | constexpr size_t sizeofString(size_t n) { |
| 72 | return StringNode::sizeForLength(n); |
| 73 | } |
| 74 | |
| 75 | ARDUINOJSON_END_PRIVATE_NAMESPACE |