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

Function writeInteger

src/ArduinoJson/MsgPack/MsgPackSerializer.hpp:206–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204
205 template <typename T>
206 void writeInteger(T value) {
207 fixEndianness(value);
208 writeBytes(reinterpret_cast<uint8_t*>(&value), sizeof(value));
209 }
210
211 CountingDecorator<TWriter> writer_;
212 const ResourceManager* resources_;

Callers 1

visitFunction · 0.70

Calls 2

fixEndiannessFunction · 0.85
writeBytesFunction · 0.85

Tested by

no test coverage detected