/// <summary> /// Returns this caption in its encoded form. /// </summary> /// <returns>Returns this caption in its encoded form.</returns> public override string ToString() { if (DisplayStr.Equals("{clear}")) { return(MakeFinalizedTimestamp(this, true).ToString() + "\t" + getProperParityBytes(commandCodes["ClearScreen"])); } return(MakeFinalizedTimestamp(this, true) + "\t" + SingleCaptionBuilder.encode(this)); }
public int getEncodedStringWordLength() { return(SingleCaptionBuilder.encode(this).Split(' ').Length); }