hex2byte


Description:


[ Version ( since = "0.9.10" ) ]
public int hex2byte (string hex)

Converts a hex string (2 characters) into its byte representation.

Parameters:

hex

a string representing a hex byte

Returns:

a byte, or -1 if hex doesn't represent a hex byte


Namespace: NM.Utils
Package: libnm-util



2022 vala-language.org