Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java base64 to file

byte[] data = Base64.decodeBase64(base64Img);
try (OutputStream stream = new FileOutputStream("c:/xxxx/xxxx.xx")) {
    stream.write(data);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #file
ADD COMMENT
Topic
Name
4+2 =