ObjectId.fromBuffer constructor

ObjectId.fromBuffer(
  1. BsonBinary buffer
)

Implementation

ObjectId.fromBuffer(BsonBinary buffer) : _id = extractData(buffer);