I have a string that is encoded as base64 by using the Convert.ToBase64String()
in C#.
I want to decode the same string in Java. How is it possible? I am using:
decodedString = Base64.getMimeDecoder().decode(data);
And it shows this error:
Exception in thread "Thread-6" java.lang.IllegalArgumentException: Input byte