Function novatel_gps_driver::ParseUInt32(const uint8_t *)

Function Documentation

uint32_t novatel_gps_driver::ParseUInt32(const uint8_t *buffer)

Converts a buffer containing 4 bytes into an unsigned 32-bit int.

This assumes that the bytes in the buffer are already arranged with the same endianness as the local platform.

Parameters:

buffer – A buffer containing 4 bytes of data.

Returns:

The uint32_t represented by the data in the buffer.