MCPcopy Create free account
hub / github.com/GJDuck/e9patch / sendIntegerData

Function sendIntegerData

src/e9tool/e9metadata.cpp:1401–1407  ·  view source on GitHub ↗

* Send integer data. */

Source from the content-addressed store, hash-verified

1399 * Send integer data.
1400 */
1401static void sendIntegerData(FILE *out, unsigned size, intptr_t i)
1402{
1403 assert(size == 8 || size == 16 || size == 32 || size == 64);
1404 fprintf(out, "{\"int%u\":", size);
1405 sendInteger(out, i);
1406 fputc('}', out);
1407}
1408
1409/*
1410 * Send bytes data.

Callers 1

sendPrintMetadataMethod · 0.85

Calls 2

fputcFunction · 0.85
fprintfFunction · 0.50

Tested by

no test coverage detected