コード例 #1
0
ファイル: MiningPoolMsg.cs プロジェクト: ft-john/FiiiCoin
        public override void Deserialize(byte[] bytes, ref int index)
        {
            var countBytes = new byte[4];

            this.MinerInfos.Clear();

            index += 4;

            while (index < bytes.Length)
            {
                MiningMsg minerInfo = new MiningMsg();
                minerInfo.Deserialize(bytes, ref index);
                this.MinerInfos.Add(minerInfo);
            }
        }
コード例 #2
0
 public NewMiningPoolMsg()
 {
     MinerInfo = new MiningMsg();
 }