Bill Allombert on Fri, 09 Mar 2018 21:29:36 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Serialization of GEN's


On Thu, Mar 08, 2018 at 03:10:07PM +0100, Jeroen Demeyer wrote:
> On 2018-03-08 14:59, Aleksandr Lenin wrote:
> >Hello,
> >
> >which functions are available in libpari to store GEN's in a file and
> >load from a file? I am most interested in serializing big integers,
> >vectors of integers, polynomials.
> 
> writebin() does exactly that, but note that this is a system-dependent
> serialization.

Normally writebin files should only depend on the endianness and the
wordsize.

Cheers,
Bill.