pyparcel/api.py
def load(*objs: Any, encoding: str = "utf-8") -> bytes:
    """
    Converts *objs* into a byte string format in order.

    :param encoding: encoding for strings to be encoded in
    :param objs: Objects to be converted to byte string
    :return: Byte string of *objs*
    """
    global global_encoding
    global_encoding = encoding
    return b"".join(
        [
            pack_dict.get(
                type(obj),
                lambda o: b"".join([load(o.__getattribute__(v)) for v in vars(o)]),
            )(obj)
            for obj in objs
        ]
    )

    Converts *objs* into a byte string format in order.

    :param encoding: encoding for strings to be encoded in
    :param objs: Objects to be converted to byte string
    :return: Byte string of *objs*
    
Converts *objs* into a byte string format in order.
Converts * objs * into a byte string format in order .
def load(*objs: Any, encoding: str = "utf-8") -> bytes:
    global global_encoding
    global_encoding = encoding
    return b"".join(
        [
            pack_dict.get(
                type(obj),
                lambda o: b"".join([load(o.__getattribute__(v)) for v in vars(o)]),
            )(obj)
            for obj in objs
        ]
    )
def load ( * objs : Any , encoding : str = "utf-8" ) -> bytes : global global_encoding global_encoding = encoding return b"" . join ( [ pack_dict . get ( type ( obj ) , lambda o : b"" . join ( [ load ( o . __getattribute__ ( v ) ) for v in vars ( o ) ] ) , ) ( obj ) for obj in objs ] )
Converts *objs* into a byte string format in order.
Converts * objs * into a byte string format in order .
"""
    Converts *objs* into a byte string format in order.

    :param encoding: encoding for strings to be encoded in
    :param objs: Objects to be converted to byte string
    :return: Byte string of *objs*
    """
Byte string of *objs
Byte string of * objs
objs
Any
Objects to be converted to byte string
Objects to be converted to byte string
encoding
str
encoding for strings to be encoded in
encoding for strings to be encoded in