Пример #1
0
 public override void deserialize(MemoryStream stream, std_msgs.msg.UInt64 data)
 {
     using (BinaryReader reader = new BinaryReader(stream))
     {
         Halodi.CDR.CDRDeserializer cdr = new Halodi.CDR.CDRDeserializer(reader);
         read(data, cdr);
     }
 }
Пример #2
0
 public override void serialize(std_msgs.msg.UInt64 data, MemoryStream stream)
 {
     using (BinaryWriter writer = new BinaryWriter(stream))
     {
         Halodi.CDR.CDRSerializer cdr = new Halodi.CDR.CDRSerializer(writer);
         write(data, cdr);
     }
 }
Пример #3
0
        public static int getCdrSerializedSize(std_msgs.msg.UInt64 data, int current_alignment)
        {
            int initial_alignment = current_alignment;

            current_alignment += 8 + Halodi.CDR.CDRCommon.alignment(current_alignment, 8);



            return(current_alignment - initial_alignment);
        }
Пример #4
0
 public static void Copy(std_msgs.msg.UInt64 src, std_msgs.msg.UInt64 target)
 {
     target.Set(src);
 }
Пример #5
0
 public static void read(std_msgs.msg.UInt64 data, Halodi.CDR.CDRDeserializer cdr)
 {
     data.data = cdr.read_type_12();
 }
Пример #6
0
 public static void write(std_msgs.msg.UInt64 data, Halodi.CDR.CDRSerializer cdr)
 {
     cdr.write_type_12(data.data);
 }
Пример #7
0
 public static int getCdrSerializedSize(std_msgs.msg.UInt64 data)
 {
     return(getCdrSerializedSize(data, 0));
 }