bin2hexstr


Description:


[ Version ( since = "0.9.10" ) ]
public string bin2hexstr (string bytes, int len, int final_len)

Converts a byte-array bytes 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:

bytes

an array of bytes

len

the length of the bytes array

final_len

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

Returns:

the textual form of bytes


Namespace: NM.Utils
Package: libnm-util



2022 vala-language.org