elixir zapis base64 do pliku

{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])
The First Avenger