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

Class AddPadding

src/ArduinoJson/Memory/Alignment.hpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template <size_t bytes>
27struct AddPadding {
28 static const size_t mask = sizeof(void*) - 1;
29 static const size_t value = (bytes + mask) & ~mask;
30};
31
32#else
33

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected