<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def serializeEc(P, compress=True):
 """ Generates a compact binary version of this point. """

    return _serialize(P, compress, librelic.ec_size_bin_abi,
        librelic.ec_write_bin_abi)