Big Integer wrapping types
Swift doesn't have integer with size bigger than 64 bits, thus we have added new types to this library which wrap BigInt
so that they can be used for separate serialization adapter in our SCALE codec library.
Each of them also has same to and from Data
set of methods, but also for convenience there are constructors to avoid extra BigInt
construction.
All of 128, 256, 512 unsigned and signed types allows you to instantiate object by providing any respectively unsigned or signed integers of lesser size, including BigInt
wrapping ones.
Last updated