DBPointer.fromBuffer constructor

DBPointer.fromBuffer(
  1. BsonBinary buffer
)

Implementation

DBPointer.fromBuffer(BsonBinary buffer) {
  var data = extractData(buffer);
  collection = data.collection;
  bsonObjectId = data.id;
  bsonCollection = data.bsonCollection;
}