libgs.utils.
bytes2hex
Helper function to convert a bytearray to a hex string AA-BB-CC-…
Example:
>>> bytes2hex([0xaa, 0xbb, 0x00, 0x01, 0x10]) 'AA-BB-00-01-10'