extractData static method

  1. @Deprecated('Not used any more')
BsonBinary extractData(
  1. BsonBinary buffer
)

Implementation

@Deprecated('Not used any more')
static BsonBinary extractData(BsonBinary buffer) {
  var id = BsonBinary.from(
      Uint8List(12)..setRange(0, 12, buffer.byteList, buffer.offset));
  buffer.offset += 12;
  return id;
}