Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_tools
file_to_base64/1
Description
file_to_base64/1 is an Erlang function exported by "age_tools" module.
Loads a file (FileName) and returns the content as a Base64 stream.
References
None
Parameters
Name
Type
FileName
string()
Fully qualified file name.
Result
Value or Type
Returns the content of the loaded file encoded as base64 string.