What would be the proper way to serialize BigInteger to byte array, and back? There is a "toByteArray" method, but the "fromBytes" factory accepts two parameters (int signum, List magnitude) - shouldn't this method be modified to accept just bytes?
On a separate subject (don't want to create two threads), I wonder if this project is still maintained/actively used? Just found another library (https://github.com/a14n/dart-rational), and it does look pretty good...
What would be the proper way to serialize BigInteger to byte array, and back? There is a "toByteArray" method, but the "fromBytes" factory accepts two parameters (int signum, List magnitude) - shouldn't this method be modified to accept just bytes?
On a separate subject (don't want to create two threads), I wonder if this project is still maintained/actively used? Just found another library (https://github.com/a14n/dart-rational), and it does look pretty good...