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

Function Lpb_decode

Plugins/UnLuaExtensions/LuaProtobuf/Source/src/pb.cpp:1906–1910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1904}
1905
1906static int Lpb_decode(lua_State *L) {
1907 return lpbD_decode(L, lua_isnoneornil(L, 2) ?
1908 pb_lslice(NULL, 0) :
1909 lpb_checkslice(L, 2), 3);
1910}
1911
1912
1913void lpb_pushunpackdef(lua_State* L, lpb_State* LS, const pb_Type* t, pb_Field** l, int top) {

Callers

nothing calls this directly

Calls 3

lpbD_decodeFunction · 0.85
pb_lsliceFunction · 0.85
lpb_checksliceFunction · 0.85

Tested by

no test coverage detected