public string ToString(string tab)
{
return
string.Format(
"{6}{5}Protocol: {0}{6}{5}RxStatus: {1}{6}{5}Timestamp: {2}{6}{5}ExtraDataIndex: {3}{6}{5}Data: {4}",
ProtocolID,
RxStatus,
Timestamp,
ExtraDataIndex,
BitConverter.ToString(GetBytes()),
tab,
Environment.NewLine);
}