Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Unicode > age_unicode
binary_to_string/3
Description
binary_to_string/3 is an Erlang function exported by "api_age_unicode" module.
Converts binary into Unicode string.
References
•Endianness binary representation
•string_to_binary/3
Parameters
Name
Type
Input
binary()
Input binary block.
Endianness
atom()
Optional endianness type. Supported values are:
•big - Big endianness
•little - Little endianness
•native - Native to the hardware endianness (big or little)
Defaults to big.
Bytes
integer()
Optional. Specifies number of 8-bit group of bytes. Defaults to 2.
Result
Value or Type
string()
Returns Unicode string.