public void WriteDataAsync(AmfWriter writer, object obj) { writer.WriteMarkerAsync(Amf3TypeMarkers.Double); writer.WriteAmf3DoubleAsync(Convert.ToDouble(obj)); }