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

Function GetStringLength

rapidjson/document.h:1728–1728  ·  view source on GitHub ↗

Get the length of string. ! Since rapidjson permits "\\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength(). */

Source from the content-addressed store, hash-verified

1726 /*! Since rapidjson permits "\\u0000" in the json string, strlen(v.GetString()) may not equal to v.GetStringLength().
1727 */
1728 SizeType GetStringLength() const { RAPIDJSON_ASSERT(IsString()); return ((data_.f.flags & kInlineStrFlag) ? (data_.ss.GetLength()) : data_.s.length); }
1729
1730 //! Set this value as a string without copying source string.
1731 /*! This version has better performance with supplied length, and also support string containing null character.

Callers 2

AcceptFunction · 0.85
StringEqualFunction · 0.85

Calls 2

IsStringFunction · 0.85
GetLengthMethod · 0.45

Tested by

no test coverage detected