public override byte[] ToBytes() => ByteHelpers.Combine(new byte[] { Version.ToByte(), MessageType.ToByte() }, MessageId.ToBytes(), Purpose.ToBytes(startsWithLength: true), Content.ToBytes(startsWithLength: true));
public override byte[] ToBytes() => ByteHelpers.Combine(new byte[] { Version.ToByte(), MessageType.ToByte() }, MessageId.ToBytes(), Purpose.ToBytes(startsWithLength: true), Content.ToBytes(startsWithLength: true));