<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def binary_dumps(obj, alt_format=False):
 """ Serialize ``obj`` to a binary VDF formatted ``bytes``. """

    return b''.join(_binary_dump_gen(obj, alt_format=alt_format))