Question : elixir write base64 to file
Answered by : mike-binns-b4fckyp5p3z3
{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])
Source : https://www.sonerdy.com/elixir/2016/05/23/saving-base64-encoded-file-in-elixir.html | Last Update : Tue, 03 Aug 21