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