convert mpz_t integer to raw file
Balaji Sathyanarayanan
balaji_cba at rediffmail.com
Sun Apr 25 13:06:08 CEST 2004
An HTML attachment was scrubbed...
URL: /list-archives/gmp-discuss/attachments/20040425/2f6adb77/attachment.htm
-------------- next part --------------
Hai everybody,
I need to convert integer value to its ascii format.
For example to represent integer 2 i'll do,
printf("%c",2);
I need the equivalent function in gmp, or the way to do it.
I saw the mpz_out_raw(...) function, it ( DO THE SIMILAR THING) , BUT IT WRITES THE EXTRA 4 BYTES OF LENGTH INFORMATION IN THE STARTING OF THE FILE. I DON'T NEED THAT LENGTH INDICATOR FIELD.
- BALAJI S
More information about the gmp-discuss
mailing list