Function parsing_utilities::parseInt16(const uint8_t *)

Function Documentation

int16_t parsing_utilities::parseInt16(const uint8_t *buffer)

Converts a 2-byte-buffer into a signed 16-bit integer.

Parameters:

buffer[in] A pointer to a buffer containing 2 bytes of data

Returns:

The int16_t value extracted from the data in the buffer