Issue with functions
Closed this issue · 1 comments
Rakshak1344 commented
I'm working on recreating the whole ConseilJS package in the dart called Tezster_dart.
I have already had the 1st version deployed. I got stuck at this point.
I could not understand the difference between those lines.
r.greater(0)
andr > 0
r.and(127)
andr & 127
r.shiftRight(7)
andr >> 7
I could not find the alternative, can you guide me through this problem.
ConseilJS/src/utils/CryptoUtils.ts
Line 96 in f7192a8
anonymoussprocket commented
Hi @Rakshak1344, this function handles large numbers in javascript with bignumber.js and smaller numbers natively in javascript.