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

Function sizeofArray

src/ArduinoJson/Array/ArrayImpl.hpp:75–77  ·  view source on GitHub ↗

Returns the size (in bytes) of an array with n elements.

Source from the content-addressed store, hash-verified

73
74// Returns the size (in bytes) of an array with n elements.
75constexpr size_t sizeofArray(size_t n) {
76 return n * ResourceManager::slotSize;
77}
78
79ARDUINOJSON_END_PRIVATE_NAMESPACE

Callers 9

filter.cppFile · 0.85
string.cppFile · 0.85
array.cppFile · 0.85
misc.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