Converting an mpz_t to a byte array

Matt Cheung mgcheung at gmail.com
Mon Apr 2 19:24:17 CEST 2012


Is there a way to convert an mpz_t to a byte array?  I'm wondering
because if I want to use gmp to communicate values over a network I want
to send it as a byte array.

Thanks.


More information about the gmp-discuss mailing list