[][src]Function classygroup::export_obj

pub fn export_obj(obj: &Mpz, v: &mut [u8]) -> Result<(), usize>

Exports obj to v as an array of 2’s complement, big-endian bytes. If v is too small to hold the result, returns Err(s), where s is the size needed to hold the exported version of obj.