MCPcopy Create free account
hub / github.com/Tencent/UnLua / pb_decode_double

Function pb_decode_double

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.h:401–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399{ union { uint64_t u64; double d; } u; u.d = value; return u.u64; }
400
401PB_API double pb_decode_double(uint64_t value)
402{ union { uint64_t u64; double d; } u; u.u64 = value; return u.d; }
403
404
405/* decode */

Callers 2

lpb_readtypeFunction · 0.85
Lconv_decode_doubleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected