C#FromBase64String语句 转换为JAVA怎么写
下面几名是C#,求用JAVA怎么写:
byte[] bytes = Convert.FromBase64String(Str);
Str = System.Text.ASCIIEncoding.ASCII.GetString(bytes);
byte[] newbytes = System.Text.ASCIIEncoding.ASCII.GetBytes(Str);
result += System.Text.ASCIIEncoding.ASCII.GetString(bytes);
result = Convert.ToBase64String(byteR);
下面几名是C#,求用JAVA怎么写:
byte[] bytes = Convert.FromBase64String(Str);
Str = System.Text.ASCIIEncoding.ASCII.GetString(bytes);
byte[] newbytes = System.Text.ASCIIEncoding.ASCII.GetBytes(Str);
result += System.Text.ASCIIEncoding.ASCII.GetString(bytes);
result = Convert.ToBase64String(byteR);