koinos / koinos-types

The Rosetta Stone of the Koinos ecosystem. Allows for the interpretation of Koinos data structures in a multitude of languages. Useful in the development of microservices, clients, and smart contracts.
MIT License
12 stars 3 forks source link

Implement BigInt Types in Golang #59

Closed youkaicountry closed 3 years ago

youkaicountry commented 3 years ago

(U)Int123/160/256 have yet to have serialization implemented.

youkaicountry commented 3 years ago

big.Int.FillBytes encodes a big int in big endian, but only encodes the absolute value. Negative numbers should be encoded using a bitwise not on each byte.