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

Function endian_swap

Tools/EditorFramework/pugixml.cpp:728–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

726 };
727};
728PUGI__NS_END
729
730// Unicode utilities
731PUGI__NS_BEGIN
732inline uint16_t endian_swap(uint16_t value)
733{
734 return static_cast<uint16_t>(((value & 0xff) << 8) | (value >> 8));
735}
736
737inline uint32_t endian_swap(uint32_t value)
738{

Callers 4

decode_utf16_blockMethod · 0.70
decode_utf32_blockMethod · 0.70
convert_utf_endian_swapFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected