added parameter to default skip last symbol in SymbolString::getDataStr (removes CRC from logging and hex result)
This commit is contained in:
@@ -67,9 +67,10 @@ public:
|
||||
/**
|
||||
* Returns the symbols as hex string.
|
||||
* @param unescape whether to unescape an escaped instance.
|
||||
* @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 string getDataStr(const bool unescape=true, const bool skipLastSymbol=true);
|
||||
|
||||
/**
|
||||
* Returns a reference to the symbol at the specified index.
|
||||
|
||||
Reference in New Issue
Block a user