hexstr2bin


Description:


[ Version ( since = "0.9.10" ) ]
public string hexstr2bin (string hex, size_t len)

Converts a hexadecimal string hex into a byte-array.

The returned array length is len/2.

Parameters:

hex

an hex string

len

the length of the hex string (it has to be even)

Returns:

a array of bytes, or null on error


Namespace: NM.Utils
Package: libnm-util



2022 vala-language.org