Function parse_string
odtone::dns::parse_string
Synopsis
std::string parse_string(const unsigned char * p, int & pos);
Description
Parse a string. In the end the position is pointing to the next byte after the string end.
Parameters: |
p
|
Byte array containing the information. |
pos
|
Position in the byte array where to start parsing. |
|
Returns: |
The string value. |