BSON Type 0x00 (document) missing

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Unknown
    • None
    • Affects Version/s: 1.5.1
    • Component/s: BSON
    • None
    • Environment:
      Linux
    • None
    • Hide

      May need to include new Document type in the godoc.

      Show
      May need to include new Document type in the godoc.
    • None
    • None
    • None
    • None
    • None
    • None

      bsontype.go does not include `0x00` for top level document types per the bsonspec.org.

      This can be seen when using `UnmarshalBSONValue` to determine the document type.

      Attached code to duplicate the issue.

            Assignee:
            Isabella Siu (Inactive)
            Reporter:
            Mike Dotson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: