clone property

BsonBinary clone

Returns a copy of this BsonBinary. Also the offset is set like the original.

Implementation

BsonBinary get clone =>
    BsonBinary.fromHexString(hexString, subType: _subType)..offset = offset;