Skip to content
This repository was archived by the owner on Feb 22, 2019. It is now read-only.

Fix thrift negative integer handling.#143

Open
muirmanders wants to merge 1 commit intosimplereach:masterfrom
retailnext:fix-signed-integers
Open

Fix thrift negative integer handling.#143
muirmanders wants to merge 1 commit intosimplereach:masterfrom
retailnext:fix-signed-integers

Conversation

@muirmanders
Copy link
Contributor

Use the node-int64 package to handle serializing/deserializing
64-bit signed integers. Also, you will now get an error if you
try to fetch out integer values that would lose precision in
javascript.

Fix 32-bit signed int serialization also (was using writeUInt32BE
instead of writeInt32BE).

Use the node-int64 package to handle serializing/deserializing
64-bit signed integers. Also, you will now get an error if you
try to fetch out integer values that would lose precision in
javascript.

Fix 32-bit signed int serialization also (was using writeUInt32BE
instead of writeInt32BE).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant