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

IntEncodeValue should encode int's within 32bits as int32s

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.3.0
    • Affects Version/s: None
    • Component/s: BSON
    • None

      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.

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

              Created:
              Updated:
              Resolved: