PHP Trait LdapTools\Utilities\NumberUtilitiesTrait

Author: Chad Sikorra ([email protected])
Show file Open project: ldaptools/ldaptools

Protected Methods

Method Description
hexSLong32Be2Int ( string $hex ) : integer Hex string of signed long 32bit big-endian to int form.
hexULong32Le2int ( string $hex ) : integer Hex string of unsigned long 32bit little-endian to int form.
hexUShort16Le2Int ( string $hex ) : integer Hex string of unsigned short 16bit little-endian to int form.

Method Details

hexSLong32Be2Int() protected method

Hex string of signed long 32bit big-endian to int form.
protected hexSLong32Be2Int ( string $hex ) : integer
$hex string
return integer

hexULong32Le2int() protected method

Hex string of unsigned long 32bit little-endian to int form.
protected hexULong32Le2int ( string $hex ) : integer
$hex string
return integer

hexUShort16Le2Int() protected method

Hex string of unsigned short 16bit little-endian to int form.
protected hexUShort16Le2Int ( string $hex ) : integer
$hex string
return integer