Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_tools
base64_to_file/2
Description
base64_to_file/2 is an Erlang function exported by "age_tools" module.
Saves a Base64 string as decoded stream into a file (FileName).
References
None
Parameters
Name
Type
Input
string()
Input string encoded in base64 format.
FileName
Fully qualified file name.
Result
Value or Type
ok | {error, Reason}
Returns ok on success.