public override void Serialize(ByteArrayBuilder cmd) { base.Serialize(cmd); cmd.SetString(6, Name); cmd.SetString(6 + Name?.Length ?? 0, Description); }
public override void Serialize(ByteArrayBuilder cmd) { base.Serialize(cmd); // TODO - specify max lengths on these cmd.SetString(8, Name); cmd.SetString(8 + Name.Length, Description); }
} // TODO - guard length public override void Serialize(ByteArrayBuilder cmd) { base.Serialize(cmd); cmd.SetString(24, Filename); }