-
Notifications
You must be signed in to change notification settings - Fork 11
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
64-bit integers #1
Comments
Hi, this lib only provides methods to read data from buffer easily, and all the apis are based on nodejs's Buffer api in here. What I believe is that packages in npm should do one thing and one thing well. For 64-bit integers, as nodes doesn't support it, so there is no standard which way we should store it, in file or in some protocols on network. Even it get read, there is no long type in js to store in in memory. Converting to double never will be an option. So I don't think that how to translate 64-bit integer into bytes is the responsibility of this package. I highly suggest the package long in npm. you can write some very simple functions to make this package works well with long. And that's what I'm doing right now. Thx |
Hello providing both the signed and unsigned form of 64-bit integers will make this package more complete.
The text was updated successfully, but these errors were encountered: