Returns the name of internal message types by their id.
public static string MsgTypeToString(short value) { if ((value < 0) || (value > 0x2f)) { return string.Empty; } string str2 = msgLabels[value]; if (string.IsNullOrEmpty(str2)) { str2 = "[" + value + "]"; } return str2; } }
public override string ToString() { return(string.Concat(new object[] { MsgType.MsgTypeToString(this.msgType), ": count=", this.count, " bytes=", this.bytes })); }