MCPcopy Create free account
hub / github.com/Kitware/VTK / load_string

Method load_string

ThirdParty/pugixml/vtkpugixml/src/pugixml.cpp:7712–7722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7710#endif
7711
7712 PUGI_IMPL_FN xml_parse_result xml_document::load_string(const char_t* contents, unsigned int options)
7713 {
7714 // Force native encoding (skip autodetection)
7715 #ifdef PUGIXML_WCHAR_MODE
7716 xml_encoding encoding = encoding_wchar;
7717 #else
7718 xml_encoding encoding = encoding_utf8;
7719 #endif
7720
7721 return load_buffer(contents, impl::strlength(contents) * sizeof(char_t), options, encoding);
7722 }
7723
7724 PUGI_IMPL_FN xml_parse_result xml_document::load(const char_t* contents, unsigned int options)
7725 {

Callers 1

ParseMethod · 0.80

Calls 1

strlengthFunction · 0.85

Tested by

no test coverage detected