public static void encode(double self, ObjEncoder @out) { if (System.Double.IsNaN(self)) { @out.w("sys::Float(\"NaN\")"); } else if (self == System.Double.PositiveInfinity) { @out.w("sys::Float(\"INF\")"); } else if (self == System.Double.NegativeInfinity) { @out.w("sys::Float(\"-INF\")"); } else { @out.w(toStr(self)).w("f"); } }
public void encode(ObjEncoder @out) { m_parent.encode(@out); @out.w(m_name); }
public static void encode(bool self, ObjEncoder @out) { @out.w(self ? "true" : "false"); }
public void encode(ObjEncoder @out) { @out.w(signature()).w("#"); }
public void encode(ObjEncoder @out) { @out.w(toStr()); }
public static void encode(long self, ObjEncoder @out) { @out.w(self.ToString()); }
public static void encode(BigDecimal self, ObjEncoder @out) { @out.w(self.ToString()).w("d"); }