MCPcopy Create free account
hub / github.com/OpenMW/openmw / appendType

Function appendType

components/lua/serialization.cpp:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 constexpr unsigned char CUSTOM_COMPACT_FLAG = 0x80; // 0b1SSSSTTT. SSSS = dataSize, TTT = (typeName size - 1)
40
41 static void appendType(BinaryData& out, SerializedType type)
42 {
43 out.push_back(static_cast<char>(type));
44 }
45
46 template <typename T>
47 static void appendValue(BinaryData& out, T v)

Callers 3

appendStringFunction · 0.85
serializeUserdataFunction · 0.85
serializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected