def _bytes_to_string(value: bytes) -> str:
    """Decode bytes to a UTF-8 string.

    Args:
        value (bytes): The bytes to decode

    Returns:
        str: UTF-8 representation of bytes

    Raises:
        UnicodeDecodeError
    """
    return value.decode(encoding="utf-8")