Just wanted to document this for future use:
{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])
That's it!
Just wanted to document this for future use:
{:ok, data} = Base.decode64(base64_string)
File.write("/tmp/file.gif", data, [:binary])
That's it!