MCPcopy Create free account
hub / github.com/SsageParuders/Android_Native_Surface / get_codepoint

Method get_codepoint

my_libhv/cpputil/json.hpp:6040–6071  ·  view source on GitHub ↗

! @brief get codepoint from 4 hex characters following `\u` For input "\u c1 c2 c3 c4" the codepoint is: (c1 * 0x1000) + (c2 * 0x0100) + (c3 * 0x0010) + c4 = (c1 << 12) + (c2 << 8) + (c3 << 4) + (c4 << 0) Furthermore, the possible characters '0'..'9', 'A'..'F', and 'a'..'f' must be converted to the integers 0x0..0x9, 0xA..0xF, 0xA..0xF, resp. The conversion is done

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

getFunction · 0.70

Tested by

no test coverage detected