public override ReadOnlySpan <byte> GetBytes() => BsonEncoder.EncodeAsDocument(ToElements());
public override ReadOnlySpan <byte> GetBytes() => BsonEncoder.EncodeAsDocument(this.elements);
public override ReadOnlySpan <byte> GetBytes() => BsonEncoder.EncodeAsDocument(ToElements());
public override ReadOnlySpan <byte> GetBytes() => BsonEncoder.EncodeAsDocument(this.elements);