Function novatel_gps_driver::ParseInt32(const uint8_t *)

Function Documentation

int32_t novatel_gps_driver::ParseInt32(const uint8_t *buffer)

Converts a buffer containing 4 bytes into a signed 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 int32_t represented by the data in the buffer.