Add a Reader constructor for elements

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 0.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add a constructor to the bson.Constructor and bson.ArrayConstructor types that takes a bson.Reader and creates an *Element or a *Value from it.

      Because the bson.Reader type is directly implemented on top of []byte, users can directly pass a []byte into the method without having to cast it first.

            Assignee:
            Kristofer Brandow (Inactive)
            Reporter:
            Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: