def bytesToString(value):
    """Coverts value in bytes to corresponding string representation.

    b'hello' -> 'hello'
    b'abc' -> 'abc'

    :type value: bytes
    :param value: the value
    :rtype: string
    :return: value in string
    """
    try:
        return ''.join(map(chr, list(value)))
    except:
        raise TypeError('value is not of type bytes')
