SyntaxFix
Write A Post
Hire A Developer
Questions
You can simply try this.
byte[] data = Base64.getDecoder().decode(base64fileContent);
"Base64.getDecode()" returns a Base64 Decoder that can be decoded. Then you need to decode that again using ".decode()"