Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to work with 64-bit integers #2

Open
seishun opened this issue Jun 8, 2020 · 0 comments
Open

Unable to work with 64-bit integers #2

seishun opened this issue Jun 8, 2020 · 0 comments

Comments

@seishun
Copy link

seishun commented Jun 8, 2020

Currently, fixed64 etc fields are represented as Number, which causes loss of precision. Possible solutions:

  • Replace writeFixed64 with writeFixed64String etc in the generated code
  • Rewrite writeFixed64 etc to use BigInt in google-protobuf.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant