Function sick::read_write_helper::readInt16LittleEndian

Function Documentation

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

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

Parameters:
  • buf – Buffer to read from.

  • offset – Position of integer.

Returns:

The value of the read integer.