Function gnunet_sys::GNUNET_IDENTITY_signature_get_length [−][src]
pub unsafe extern "C" fn GNUNET_IDENTITY_signature_get_length(
sig: *const GNUNET_IDENTITY_Signature
) -> isize
Get the compacted length of a #GNUNET_IDENTITY_Signature. Compacted means that it returns the minimum number of bytes this signature is long, as opposed to the union structure inside #GNUNET_IDENTITY_Signature. Useful for compact serializations.
@param sig the signature. @return -1 on error, else the compacted length of the signature.