Closed DrYSG closed 5 years ago
Already responded here: https://stackoverflow.com/questions/52192977/in-javascript-google-flatbuffers-how-does-one-write-a-ulong/52193251?noredirect=1
Bigints are pretty new to JS, but it would be awesome to have direct support for them in FlatBuffers.
This issue has been automatically marked as stale because it has not had activity for 1 year. It will be automatically closed if no further activity occurs. To keep it open, simply post a new comment. Maintainers will re-open on new activity. Thank you for your contributions.
I have no problem with doing this in a C++ program, but I am stuck on writing a ulong in JS.
FB has no issue if I used the 32bit process.hrtime() value.
But how does do a createLong() for a 64bit ?
see: [ https://nodejs.org/api/process.html#process_process_hrtime_bigint ]
FB template file