[][src]Function secp256k1_abc_sys::secp256k1_ecdsa_recoverable_signature_serialize_compact

pub unsafe extern "C" fn secp256k1_ecdsa_recoverable_signature_serialize_compact(
    ctx: *const secp256k1_context,
    output64: *mut c_uchar,
    recid: *mut c_int,
    sig: *const secp256k1_ecdsa_recoverable_signature
) -> c_int

Serialize an ECDSA signature in compact format (64 bytes + recovery id).

Returns: 1 Args: ctx: a secp256k1 context object Out: output64: a pointer to a 64-byte array of the compact signature (cannot be NULL) recid: a pointer to an integer to hold the recovery id (can be NULL). In: sig: a pointer to an initialized signature object (cannot be NULL)