MCPcopy Create free account
hub / github.com/culvertsoft/mgen / writeSigned64

Function writeSigned64

mgen-cpplib/src/main/cpp/mgen/serialization/VarInt.h:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96template<typename Stream>
97inline void writeSigned64(long long value, Stream& out) {
98 writeUnsigned64((value << 1) ^ (value >> 63), out);
99}
100
101template<typename Stream>
102inline void writeUnsigned64(unsigned long long value, Stream& out) {

Callers 1

writeSignedVarint64Method · 0.85

Calls 1

writeUnsigned64Function · 0.85

Tested by

no test coverage detected