Function sick::read_write_helper::writeUint16BigEndian

Function Documentation

inline void sick::read_write_helper::writeUint16BigEndian(std::vector<uint8_t>::iterator it, const uint16_t v)

Writes an unsigned 16-bit integer to a buffer at offset in big endian encoding.

Parameters:
  • buf – The buffer to write to.

  • v – Value which will be written.