utils

Module with some utility functions.

class Utils

Bases: object

Class container for utility functions.

static BytesToHexString(data_bytes: bytes, encoding: str = 'utf-8') str

Convert bytes to hex string.

Parameters:
  • data_bytes (bytes) – Data bytes

  • encoding (str, optional) – Encoding type

Returns:

Bytes converted to hex string

Return type:

str