public int Size()
{
int size = sizeof(byte) * 8;
for (int i = 0; i < this.MessageIdCount; i++)
{
size += sizeof(ulong);
}
return size;
}
}