public object Clone() { return(MongoHelper.FromBson <Options>(MongoHelper.ToBson(this))); }
public T DeserializeFrom <T>(byte[] bytes) where T : SerializerBinary { return(MongoHelper.FromBson <T>(bytes)); }
public T DeserializeFrom <T>(byte[] bytes, int index, int count) where T : SerializerBinary { return(MongoHelper.FromBson <T>(bytes, index, count)); }
public object DeserializeFrom(Type type, byte[] bytes, int index, int count) { return(MongoHelper.FromBson(type, bytes, index, count)); }
public object DeserializeFrom(Type type, byte[] bytes) { return(MongoHelper.FromBson(type, bytes)); }
public object Clone() { return(MongoHelper.FromBson(this.GetType(), this.ToBson())); }
public T DeserializeFrom <T>(byte[] bytes, int index, int count) { return(MongoHelper.FromBson <T>(bytes, index, count)); }
public T DeserializeFrom <T>(byte[] bytes) { return(MongoHelper.FromBson <T>(bytes)); }