Closed basiliscos closed 6 years ago
Yes, please, go ahead with serialize
.
ubyte[] data = prime.to!(ubyte[])(...);
I wasn't able convert the current signature to that's one. I will be glad to see how to do that properly :)
Merged, commented and tagged! Thanks!
Further, after having read
https://code.dlang.org/packages/cerealed
and
https://forum.dlang.org/post/mailman.1263.1527468959.29801.digitalmars-d-learn@puremagic.com
I conclude that we should rename
to
toserialize
and add a note in the docs ofserialize
that it callsmpz_export
under the hood. Ok?