MCPcopy Create free account
hub / github.com/MyGUI/mygui / need_endian_swap_utf

Function need_endian_swap_utf

Tools/EditorFramework/pugixml.cpp:1325–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1323
1324#ifdef PUGIXML_WCHAR_MODE
1325PUGI__FN bool need_endian_swap_utf(xml_encoding le, xml_encoding re)
1326{
1327 return (le == encoding_utf16_be && re == encoding_utf16_le) ||
1328 (le == encoding_utf16_le && re == encoding_utf16_be) || (le == encoding_utf32_be && re == encoding_utf32_le) ||
1329 (le == encoding_utf32_le && re == encoding_utf32_be);
1330}
1331
1332PUGI__FN bool convert_buffer_endian_swap(
1333 char_t*& out_buffer,

Callers 1

convert_bufferFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected