Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-384

Provide an internal accessor for `bson_t`s length

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None

      Description

      In Swift 5 bson_t is imported as an OpaquePointer, meaning that we will lose type information from within Swift. As a result, we no longer have a way to determine the length of the bson_t. We can provide a method in our swift-bson package to provide this functionality.

        Attachments

          Activity

            People

            • Assignee:
              matt.broadstone Matt Broadstone
              Reporter:
              matt.broadstone Matt Broadstone
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: