public void RosDeserializeInPlace(ref Buffer b) { foreach (DynamicMessage t in Value) { t.RosDeserializeInPlace(ref b); } }
public void Deserialize(T msg, ref Buffer b) { foreach (var field in messageFields) { field.RosDeserialize(msg, ref b); } }
public T RosDeserialize(ref Buffer b) { var msg = new T(); Definition.Deserialize(msg, ref b); return(msg); }
public void RosDeserializeInPlace(ref Buffer b) { for (int i = 0; i < Count; i++) { Value[i] = Generator.RosDeserialize(ref b); } }
public void RosDeserializeInPlace(ref Buffer b) { Value = b.DeserializeArray <T>(); for (int i = 0; i < Value.Length; i++) { Value[i] = Generator.RosDeserialize(ref b); } }
public void RosDeserializeInPlace(ref Buffer b) { uint count = b.Deserialize <uint>(); if (count == 0) { Value = Array.Empty <DynamicMessage>(); return; } Value = new DynamicMessage[count]; for (int i = 0; i < count; i++) { Value[i] = new DynamicMessage(generator); Value[i].RosDeserializeInPlace(ref b); } }
public void RosDeserialize(T msg, ref Buffer b) => b.DeserializeStringArray(getter(msg), arraySize);
public void RosSerialize(T msg, ref Buffer b) => b.SerializeArray(getter(msg), arraySize);
public void RosSerialize(ref Buffer b) { b.Serialize(Value); }
public void RosSerialize(ref Buffer b) => Definition.Serialize((T)this, ref b);
public void RosDeserializeInPlace(ref Buffer b) { Value = Generator.RosDeserialize(ref b); }
public void RosSerialize(ref Buffer b) { Value.RosSerialize(ref b); }
public void RosDeserialize(T msg, ref Buffer b) => setter(msg, b.DeserializeStructArray <TField>(arraySize));
public ISerializable RosDeserialize(ref Buffer b) => throw new NotImplementedException();
public void RosSerialize(ref Buffer b) => throw new NotImplementedException();
public void RosSerialize(T msg, ref Buffer b) => b.Serialize(getter(msg));
public void RosDeserialize(T msg, ref Buffer b) => setter(msg, b.DeserializeString());
public void RosSerialize(T msg, ref Buffer b) => b.SerializeStructList(getter(msg), arraySize);
ISerializable ISerializable.RosDeserialize(ref Buffer b) => RosDeserialize(ref b);
public void RosDeserializeInPlace(ref Buffer b) { Value = b.DeserializeStringArray(Count); }
public void RosSerialize(ref Buffer b) { b.SerializeArray(Value, Count); }
public void RosSerialize(ref Buffer b) { b.SerializeStructArray(Value); }
public void RosDeserialize(T msg, ref Buffer b) => b.DeserializeStructList(getter(msg));
public void RosDeserializeInPlace(ref Buffer b) { Value = b.DeserializeStructArray <T>(); }
public void RosDeserializeInPlace(ref Buffer b) { Value = b.DeserializeString(); }
public void RosDeserialize(T msg, ref Buffer b) => setter(msg, b.Deserialize <TField>());
public void RosDeserialize(T msg, ref Buffer b) => setter(msg, b.DeserializeStringArray(arraySize));
public void RosSerialize(T msg, ref Buffer b) => b.SerializeStructArray(getter(msg));