add access to data
This commit is contained in:
@@ -294,6 +294,12 @@ class SymbolString {
|
||||
return m_data.size() - lengthOffset - 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a pointer to the data bytes.
|
||||
* @return a pointer to the data bytes.
|
||||
*/
|
||||
const symbol_t* data() const { return m_data.data(); }
|
||||
|
||||
/**
|
||||
* Return the data byte at the specified index (within DD).
|
||||
* @param index the index of the data byte (within DD) to return.
|
||||
|
||||
Reference in New Issue
Block a user