Important update:
- LiteProtocolCore: - Bug fix: NewCommandStr() cannot shrink CommandStr on CreateCommand - Bug fix: AppendParam() cannot pass NULL string value
This commit is contained in:
@@ -88,8 +88,12 @@ class CLiteProtocol
|
||||
int * FromLen = NULL, int * ToLen = NULL, int * CommandLen = NULL ); // Read core parameters from structured command: To, From & Command
|
||||
|
||||
// Read structured Command string
|
||||
inline int GetNoOfDataParams() { return (NoOfParams - 3); }; // Return number for data (additional) params
|
||||
inline bool GotoDataParam( int ParamNo ) { return (GotoParam( ParamNo+3 )); }; // Goto specific data (additional) param
|
||||
inline int GetNoOfDataParams() { // Return number for data (additional) params
|
||||
return (NoOfParams - 3);
|
||||
};
|
||||
inline bool GotoDataParam( int ParamNo ) { // Goto specific data (additional) param
|
||||
return (GotoParam( ParamNo+3 ));
|
||||
};
|
||||
inline char const * GetDataParamNo( int ParamNo, char ** pString = NULL, int * pLength = NULL ) { // Read specific data param (by number)
|
||||
return (GetParamNo( ParamNo+3, pString, pLength ));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user