Function sick::read_write_helper::readInt16BigEndian

Function Documentation

inline int16_t sick::read_write_helper::readInt16BigEndian(std::vector<uint8_t>::const_iterator it)

Read a signed 16-bit integer at offset in big endian encoding.

Parameters:
  • buf – Buffer to read from.

  • offset – Position of integer.

Returns:

The value of the read integer.