hex2int#

hex2int(sids)#

Converts hex SIDs to int SIDs

Parameters:
sids: array-like or str

hex representations of SIDs

Returns:
sid: array-like or int64

int representation of SIDs

Examples

>>> sid = '0x3000000000000000'
>>> pystare.hex2int(sid)
3458764513820540928
>>> sid = ['0x3000000000000000']
>>> pystare.hex2int(sid)
[3458764513820540928]