steamfiles/appinfo.py
def dumps(obj):
    """
    Serializes a dictionary into Appinfo data.
    :param obj: A dictionary to serialize.
    :return:
    """
    if not isinstance(obj, dict):
        raise TypeError('can only dump a dictionary as an Appinfo but got ' + type(obj).__name__)

    return b''.join(AppinfoEncoder(obj).iter_encode())
def dumps(obj):
    """
    Serializes a dictionary into Appinfo data.
    :param obj: A dictionary to serialize.
    :return:
    """
    if not isinstance(obj, dict):
        raise TypeError('can only dump a dictionary as an Appinfo but got ' + type(obj).__name__)

    return b''.join(AppinfoEncoder(obj).iter_encode())
def dumps ( obj ) : if not isinstance ( obj , dict ) : raise TypeError ( 'can only dump a dictionary as an Appinfo but got ' + type ( obj ) . __name__ ) return b'' . join ( AppinfoEncoder ( obj ) . iter_encode ( ) )
Serializes a dictionary into Appinfo data.
    :param obj: A dictionary to serialize.
    :return:
Serializes a dictionary into Appinfo data . : param obj : A dictionary to serialize . : return :