packValue method

  1. @override
void packValue(
  1. BsonBinary buffer
)
override

Implementation

@override
void packValue(BsonBinary buffer) {
  buffer.writeInt(byteList.length);
  buffer.writeByte(_subType);
  buffer.byteList
      .setRange(buffer.offset, buffer.offset + byteList.length, byteList);
  buffer.offset += byteList.length;
}