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); } }
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); } }
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); }
public static void Copy(std_msgs.msg.UInt64 src, std_msgs.msg.UInt64 target) { target.Set(src); }
public static void read(std_msgs.msg.UInt64 data, Halodi.CDR.CDRDeserializer cdr) { data.data = cdr.read_type_12(); }
public static void write(std_msgs.msg.UInt64 data, Halodi.CDR.CDRSerializer cdr) { cdr.write_type_12(data.data); }
public static int getCdrSerializedSize(std_msgs.msg.UInt64 data) { return(getCdrSerializedSize(data, 0)); }