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); } }
public NewMiningPoolMsg() { MinerInfo = new MiningMsg(); }