Function sick::read_write_helper::readUint16LittleEndian

Function Documentation

inline uint16_t sick::read_write_helper::readUint16LittleEndian(std::vector<uint8_t>::const_iterator it)

Read an unsigned 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.