Function classgroup::export_obj

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

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.