node-struct
node-struct copied to clipboard
What about long?
I'm using a 64-bit Linux. My problem is that long has 64 bits on my system while it has 32 bits on 32 bit machines. Is there a way to automatically detect on which system this lib is running and to automagically adjust the length of longs?
PS: I want it to run cross platform. Therefore, just using word64Sle is not sufficient.
https://nodejs.org/dist/latest-v6.x/docs/api/os.html#os_os_arch
I see, but your library could support long out of the box, couldn't it?