nan icon indicating copy to clipboard operation
nan copied to clipboard

How to convert an int64 to NodeJs BigInt.

Open UrielCh opened this issue 4 years ago • 1 comments

Hi,

I think it's a common issue, but I can not find the answer on the Google.

I want to return BigInt to Nodejs from a C++ int64.

Currently, I'm returning a number but that is not correct.

UrielCh avatar Feb 02 '22 09:02 UrielCh

Was looking for this too and run into the same issue. Still using a Uint32 or Int32 as fallback. Strange, that this is not yet available.

cbratschi avatar Apr 07 '22 21:04 cbratschi