Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-717

IntEncodeValue should encode int's within 32bits as int32s

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.3.0
    • None
    • BSON
    • None

    Description

      This will better preserve a default behavior of the more commonly used int being encoded as an int32 instead of being encoded as an int64 right now. This will make it easier to not pass around an EncodeContext with MinSize set. This should cover negative and positive values.

      It might be worth decoding ints in the same vein as well.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            eric.daniels@mongodb.com Eric Daniels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: