1 #ifndef _ROS_std_msgs_UInt16_h
2 #define _ROS_std_msgs_UInt16_h
22 virtual int serialize(
unsigned char *outbuffer)
const
25 *(outbuffer + offset + 0) = (this->
data >> (8 * 0)) & 0xFF;
26 *(outbuffer + offset + 1) = (this->
data >> (8 * 1)) & 0xFF;
27 offset +=
sizeof(this->
data);
34 this->
data = ((uint16_t) (*(inbuffer + offset)));
35 this->
data |= ((uint16_t) (*(inbuffer + offset + 1))) << (8 * 1);
36 offset +=
sizeof(this->
data);
40 const char *
getType(){
return "std_msgs/UInt16"; };
41 const char *
getMD5(){
return "1df79edf208b629fe6b81923a544552d"; };
virtual int deserialize(unsigned char *inbuffer)
Definition: UInt16.h:31
virtual int serialize(unsigned char *outbuffer) const
Definition: UInt16.h:22
const char * getType()
Definition: UInt16.h:40
UInt16()
Definition: UInt16.h:17
const char * getMD5()
Definition: UInt16.h:41
uint16_t data
Definition: UInt16.h:15