BsonBinary.from constructor

BsonBinary.from(
  1. Iterable<int> byteList, {
  2. int? subType,
})

Implementation

BsonBinary.from(Iterable<int> byteList, {int? subType})
    : _byteList = Uint8List(byteList.length)
        ..setRange(0, byteList.length, byteList),
      _subType = subType ?? subtypeBinary;