Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3763

Fix serialization of i64 larger than 2^53 for browserify

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Node.js - Library
    • None
    • browserify 13.0.0

    Description

      Apparently, storing negative value to Buffer works for node but not for browserify.
      Forcing positive value by (& 0xff) before storing fixed the problem.

      Attachments

        Activity

          People

            nsuke Nobuaki Sukegawa
            nsuke Nobuaki Sukegawa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: