mirror of
https://github.com/fumiama/simple-protobuf.git
synced 2026-06-12 12:50:30 +08:00
增加实际读取长度
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
struct SIMPLE_PB {
|
||||
uint32_t len;
|
||||
uint32_t struct_len, real_len;
|
||||
char target[];
|
||||
};
|
||||
typedef struct SIMPLE_PB SIMPLE_PB;
|
||||
|
||||
Reference in New Issue
Block a user