thriftrw / thriftrw-node

A thrift binary encoding library using bufrw
MIT License
57 stars 25 forks source link

Fix small negative int 64 conversion #154

Closed Heymdall closed 6 years ago

Heymdall commented 6 years ago

Right now small negative int64 numbers converted incorrectly, because upper bits being filled from very small number, like -0.00000412, and writeInt32BE just ignore it and fills it with 00 instead of FF.

CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.