Converting array to mpz_t
xichimos at plobe.com
Fri Jan 30 00:00:24 CET 2004
I am doing a network program that reads data off of a socket and puts it
into an array. How would I read in this data that is in the raw format,
as spit out by mpz_out_raw(), into an mpz_t? It is probably trivial,
but it needs to be an efficient method. I am not using mpz_inp_str()
because it has a maximum base of 36, and I assume raw is base 2^8.
Thanks for the help.
More information about the gmp-discuss