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

Method TryReadString

binaryreader.cpp:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280
281bool BinaryReader::TryReadString(string& dest, size_t len)
282{
283 DataBuffer result(len);
284 if (!TryRead(result.GetData(), len))
285 return false;
286 dest = string((const char*)result.GetData(), len);
287 return true;
288}
289
290
291bool BinaryReader::TryRead8(uint8_t& result)

Callers

nothing calls this directly

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected