'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Function parse_uint32

odtone::dns::parse_uint32

Synopsis

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


uint32 parse_uint32(const unsigned char * p, int & pos);

Description

Parse an unsigned int32. In the end the position is pointing to the next byte after the unsigned int32 end.

Parameters:

p

Byte array containing the information.

pos

Position in the byte array where to start parsing.

Returns:

The unsigned int32 value.


PrevUpHomeNext