MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / AMCRespHeaderV2

Class AMCRespHeaderV2

libapp2sys/src/main/cpp/header.h:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128
129
130typedef struct AMCRespHeaderV2: AMCRespHeader{
131 uint32_t headerlen; //包头数据长度(Ver2新增)
132 uint32_t bodyformat; //包体数据序列化格式枚举值(Ver2新增)
133 uint32_t data1; //预留字段1
134 uint32_t data2; //预留字段2
135 uint32_t data3; //预留字段3
136
137}__attribute__ ((packed)) AMCRespHeaderV2;
138
139
140static int64_t genRespPack(uint32_t funcid, uint32_t retCode, uint64_t requestId, uint8_t *data, int dataLen,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected