public DataMessage(byte[] data, byte[] hash, Int32 index) { type = P2PMessageType.DATA; p2PDatas = new P2PData(data, hash, index); length = P2PData.GetSize(); }