Skip to content

How to convert an int64 to NodeJs BigInt. #931

Open

Description

@UrielCh

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.

Activity

  1. cbratschi commented on Apr 7, 2022

    @cbratschi

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions