MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / WriteInt

Method WriteInt

rapidjson/writer.h:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279 }
280
281 bool WriteInt(int i) {
282 char buffer[11];
283 const char* end = internal::i32toa(i, buffer);
284 PutReserve(*os_, static_cast<size_t>(end - buffer));
285 for (const char* p = buffer; p != end; ++p)
286 PutUnsafe(*os_, static_cast<typename TargetEncoding::Ch>(*p));
287 return true;
288 }
289
290 bool WriteUint(unsigned u) {
291 char buffer[10];

Callers

nothing calls this directly

Calls 3

i32toaFunction · 0.85
PutReserveFunction · 0.70
PutUnsafeFunction · 0.70

Tested by

no test coverage detected