gmp_export
Export to a binary string
&reftitle.description;
stringgmp_export
GMPgmpnumber
intword_size1
intoptionsGMP_MSW_FIRST | GMP_NATIVE_ENDIAN
Export a GMP number to a binary string
&reftitle.parameters;
gmpnumber
The GMP number being exported
word_size
Default value is 1. The number of bytes in each chunk of binary data. This is mainly used in conjunction with the options parameter.
options
Default value is GMP_MSW_FIRST | GMP_NATIVE_ENDIAN.
&reftitle.returnvalues;
Returns a string&return.falseforfailure;.
&reftitle.examples;
gmp_export example
]]>
&example.outputs;
&reftitle.seealso;
gmp_import