MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / c16toa

Function c16toa

extra/yassl/src/yassl_int.cpp:132–136  ·  view source on GitHub ↗

convert 16 bit integer to opaque

Source from the content-addressed store, hash-verified

130
131// convert 16 bit integer to opaque
132void c16toa(uint16 u16, opaque* c)
133{
134 c[0] = (u16 >> 8) & 0xff;
135 c[1] = u16 & 0xff;
136}
137
138
139// convert 24 bit integer to opaque

Callers 6

hmacFunction · 0.85
TLS_hmacFunction · 0.85
buildMethod · 0.85
yassl_imp.cppFile · 0.85
BuildMethod · 0.85
CompressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected