MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / sizeofString

Function sizeofString

src/ArduinoJson/Memory/StringNode.hpp:71–73  ·  view source on GitHub ↗

Returns the size (in bytes) of an string with n characters.

Source from the content-addressed store, hash-verified

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

Callers 1

sizeFunction · 0.70

Calls 1

sizeForLengthFunction · 0.85

Tested by

no test coverage detected