提交 | 用户 | age | ||
418cb3 | 1 | #pragma once |
Q | 2 | class CDataParser1 |
3 | { | |
4 | public: | |
5 | CDataParser1(); | |
6 | virtual ~CDataParser1() {}; | |
7 | ||
8 | public: | |
9 | ||
10 | char InBuf[2000]; | |
11 | int nBufDataLen = 0; | |
12 | int m_Value1, m_Value2; | |
13 | int m_bHasData = 0; | |
14 | ||
15 | public: | |
16 | int PutIn(unsigned char * str, int len1 = 0); | |
17 | int GetOutput(int * value1, int * value2); | |
18 | int GetOutputStr(unsigned char * buf, int & len1); | |
19 | ||
20 | }; | |
21 |