Convert String to application/octet-stream Java
Just got the String using a JSON parser
byte[] decoded = Base64.getDecoder().decode(data);InputStream stream = new ByteArrayInputStream(decoded);
Just got the String using a JSON parser
byte[] decoded = Base64.getDecoder().decode(data);InputStream stream = new ByteArrayInputStream(decoded);