LdapTools\Utilities\NumberUtilitiesTrait::hexUShort16Le2Int PHP Method

hexUShort16Le2Int() protected method

Hex string of unsigned short 16bit little-endian to int form.
protected hexUShort16Le2Int ( string $hex ) : integer
$hex string
return integer
    protected function hexUShort16Le2Int($hex)
    {
        return unpack('v1int', hex2bin($hex))['int'];
    }