/// <summary>
 /// Writes a <see cref="TextLayoutCommandType.PushColor"/> command to the current position in the stream.
 /// </summary>
 /// <param name="command">The command to write to the stream.</param>
 public void WritePushColor(TextLayoutColorCommand command)
 {
     stream.Reserve(sizeof(TextLayoutColorCommand));
     *(TextLayoutColorCommand *)stream.Data = command;
     *(TextLayoutCommandType *)stream.Data  = TextLayoutCommandType.PushColor;
     stream.FinalizeObject(sizeof(TextLayoutColorCommand));
 }
 /// <summary>
 /// Writes a <see cref="TextLayoutCommandType.PushColor"/> command to the current position in the stream.
 /// </summary>
 /// <param name="command">The command to write to the stream.</param>
 public void WritePushColor(TextLayoutColorCommand command)
 {
     stream.Reserve(sizeof(TextLayoutColorCommand));
     *(TextLayoutColorCommand*)stream.Data = command;
     *(TextLayoutCommandType*)stream.Data = TextLayoutCommandType.PushColor;
     stream.FinalizeObject(sizeof(TextLayoutColorCommand));
 }