Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-339

Expose an ObjectId constructor that takes a byte[]

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      In .NET I would like to avoid having to pass strings up and down for ObjectId, especially since we already know its exact size. There's a way to get the bytes from the managed struct, so we should allow constructing the native struct from the array directly. Similarly, the native struct should expose get_bytes to allow reconstructing the managed version.

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            nikola.irinchev@mongodb.com Nikola Irinchev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: