MCPcopy Create free account
hub / github.com/Tencent/rapidjson / WriteInt

Method WriteInt

test/perftest/misctest.cpp:367–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 }
366
367 bool WriteInt(int i) {
368 if (i < 0) {
369 os_->Put('-');
370 i = -i;
371 }
372 return WriteUint((unsigned)i);
373 }
374
375 bool WriteUint(unsigned u) {
376 char buffer[10];

Callers

nothing calls this directly

Calls 1

PutMethod · 0.45

Tested by

no test coverage detected