string 到unsigned char* reinterpret_cast(str) std::string password( reinterpret_cast(write_password), l);