Utilities

oser.util.to_hex(data: bytes) str

Return a string converted to hex with indexes above.

Parameters:

data (str) – the data to be encoded to a hexadecimal format.