public MessageId(ulong value) { byte[] byteArray = BitConverter.GetBytes(value); this.ReplicaId = new byte[2]; Array.Copy(byteArray, 6, this.ReplicaId, 0, 2); this.GlobalCounter = new byte[6]; Array.Copy(byteArray, 0, this.GlobalCounter, 0, 6); }