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

Function sizeofObject

src/ArduinoJson/Object/ObjectImpl.hpp:88–90  ·  view source on GitHub ↗

Returns the size (in bytes) of an object with n members.

Source from the content-addressed store, hash-verified

86
87// Returns the size (in bytes) of an object with n members.
88constexpr size_t sizeofObject(size_t n) {
89 return 2 * n * ResourceManager::slotSize;
90}
91
92ARDUINOJSON_END_PRIVATE_NAMESPACE

Callers 7

filter.cppFile · 0.85
object.cppFile · 0.85
string.cppFile · 0.85
input_types.cppFile · 0.85
macros.cppFile · 0.85
filter.cppFile · 0.85
shrinkToFit.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected