• Converts Bytes to a string. If the bytes represent a valid UTF-8 string, then a string is returned, if not, then the hex representation is returned.

    Parameters

    • input: Uint8Array

    Returns string