public void WriteData(AmfWriter writer, object obj) { writer.WriteAmf3NumberSpecial(Convert.ToInt32(obj)); }