'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Function parse_string

odtone::dns::parse_string

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/net/dns/utils.hpp>


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.


PrevUpHomeNext