BsonObjectId constructor

BsonObjectId(
  1. ObjectId _id
)

Implementation

BsonObjectId(ObjectId _id) : id = createBsonBinaryFromObjectId(_id);