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

Method WriteBool

rapidjson/writer.h:269–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 }
268
269 bool WriteBool(bool b) {
270 if (b) {
271 PutReserve(*os_, 4);
272 PutUnsafe(*os_, 't'); PutUnsafe(*os_, 'r'); PutUnsafe(*os_, 'u'); PutUnsafe(*os_, 'e');
273 }
274 else {
275 PutReserve(*os_, 5);
276 PutUnsafe(*os_, 'f'); PutUnsafe(*os_, 'a'); PutUnsafe(*os_, 'l'); PutUnsafe(*os_, 's'); PutUnsafe(*os_, 'e');
277 }
278 return true;
279 }
280
281 bool WriteInt(int i) {
282 char buffer[11];

Callers

nothing calls this directly

Calls 2

PutReserveFunction · 0.70
PutUnsafeFunction · 0.70

Tested by

no test coverage detected