pierrec / js-cuint

C-like unsigned integers for Javascript
MIT License
32 stars 9 forks source link

Any function to get the bits out of UINT64? #10

Open stockholmux opened 4 years ago

stockholmux commented 4 years ago

If you use UINT64.fromBits you can set the bits, but is there a function to get the bits back out?

I know I can access them directly via _a00,_a16,_a32 and _a48 but I don't like to make practice out of getting values out of 'private'/underscored properties in Javascript.