Add ObjectID methods to convert from and to `[]byte`

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Works as Designed
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      By analog with `Hex() string` and `ObjectIDFromHex(s string) (ObjectID, error)` methods it will be handy to have methods likeĀ `Bytes() []byte` andĀ `ObjectIDFromBytes(b []bytes) (ObjectID, error)`.

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

              Created:
              Updated:
              Resolved: