bin2hexstr


Description:


public string bin2hexstr (uint8[] src, int final_len)

Converts the byte array src into a hexadecimal string.

If final_len is greater than -1, the returned string is terminated at that index (returned_string[final_len] == '\0'),

Parameters:

src

an array of bytes

final_len

an index where to cut off the returned string, or -1

len

the length of the src array

Returns:

the textual form of bytes


Namespace: NM.Utils
Package: libnm