extractData static method

BsonBinary extractData(
  1. BsonBinary buffer
)

Implementation

static BsonBinary extractData(BsonBinary buffer) {
  var id = BsonBinary.from(
      Uint8List(12)..setRange(0, 12, buffer.byteList, buffer.offset));
  buffer.offset += 12;
  return id;
}