NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void ByteArrayToStrEx ( byte  data[],
string &  str 
)
inline

Convert a byte array to a string.

Convert the specified array to a string by appending a null terminator to the end of the array elements. The array must be a one-dimensional array of byte.

See Also
StrToByteArray, ByteArrayToStr
Parameters
dataA byte array.
strA string variable reference which, on output, will contain data and a null terminator byte.
Examples:
ex_ByteArrayToStrEx.nxc, and ex_string.nxc.