extractData static method

_DBPointerData extractData(
  1. BsonBinary buffer
)

Implementation

static _DBPointerData extractData(BsonBinary buffer) {
  var _bsonCollection = BsonString.fromBuffer(buffer);
  var _collection = _bsonCollection.data;
  var _bsonObjectId = BsonObjectId.fromBuffer(buffer);
  return _DBPointerData(_collection, _bsonObjectId, _bsonCollection);
}