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

Function get_latin1_7bit_prefix_length

Tools/EditorFramework/pugixml.cpp:1550–1557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1548}
1549
1550PUGI__FN size_t get_latin1_7bit_prefix_length(const uint8_t* data, size_t size)
1551{
1552 for (size_t i = 0; i < size; ++i)
1553 if (data[i] > 127)
1554 return i;
1555
1556 return size;
1557}
1558
1559PUGI__FN bool convert_buffer_latin1(
1560 char_t*& out_buffer,

Callers 1

convert_buffer_latin1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected