Dim bc As ByteConverter
bc.LittleEndian = True
'all together
Log(bc.LongsFromBytes(Array As Byte(0xB0,0xA3,0xA1,0xF2,0x71,0x38,0x04,0x00))(0))
'step by step
Dim hex(8) As Byte = Array As Byte(0xB0,0xA3,0xA1,0xF2,0x71,0x38,0x04,0x00)
Dim larray() As Long = bc.LongsFromBytes(hex)
Dim l As Long = larray(0)
Log(l)