Function sick::read_write_helper::readUint16BigEndian

Function Documentation

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

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