MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / load_string

Method load_string

Source/ThirdParty/pugixml/pugixml.cpp:6114–6124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6112#endif
6113
6114 PUGI__FN xml_parse_result xml_document::load_string(const char_t* contents, unsigned int options)
6115 {
6116 // Force native encoding (skip autodetection)
6117 #ifdef PUGIXML_WCHAR_MODE
6118 xml_encoding encoding = encoding_wchar;
6119 #else
6120 xml_encoding encoding = encoding_utf8;
6121 #endif
6122
6123 return load_buffer(contents, impl::strlength(contents) * sizeof(char_t), options, encoding);
6124 }
6125
6126 PUGI__FN xml_parse_result xml_document::load(const char_t* contents, unsigned int options)
6127 {

Callers

nothing calls this directly

Calls 1

strlengthFunction · 0.85

Tested by

no test coverage detected