Utilities

oser.util.to_hex(data)

Return a string converted to hex with indexes above.

Parameters

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