added skipFirstSymbols param to getDataStr()

This commit is contained in:
john30
2017-02-19 10:46:56 +01:00
parent 735a4a8b7c
commit de40346c6b
2 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ class SymbolString {
* @param skipLastSymbol whether to skip the last symbol (probably the CRC).
* @return the symbols as hex string.
*/
const string getDataStr(const bool unescape = true, const bool skipLastSymbol = true);
const string getDataStr(const bool unescape = true, const bool skipLastSymbol = true,
unsigned char skipFirstSymbols = 0);
/**
* Return a reference to the symbol at the specified index.