/// <exception cref="System.IO.IOException" /> public virtual void WritePortable(IPortableWriter writer) { writer.WriteLong("height", height); writer.WriteInt("age", age); writer.WriteString("name", name); writer.WritePortable("address", address); }
public override void WritePortable(IPortableWriter writer) { writer.WriteLong("l", l); var output = writer.GetRawDataOutput(); output.WriteInt(k); output.WriteUTF(s); writer.WriteCharArray("c", c); output.WriteObject(sds); writer.WritePortable("p", p); }
public virtual void WritePortable(IPortableWriter writer) { writer.WriteLong("l", l); writer.WriteCharArray("c", c); writer.WritePortable("p", p); var output = writer.GetRawDataOutput(); output.Write(k); output.Write(s); output.WriteObject(sds); }
public void WritePortable(IPortableWriter writer) { writer.WriteByte("b", b); writer.WriteBoolean("bool", bo); writer.WriteChar("c", c); writer.WriteShort("s", s); writer.WriteInt("i", i); writer.WriteLong("l", l); writer.WriteFloat("f", f); writer.WriteDouble("d", d); writer.WriteUTF("str", str); if (p != null) { writer.WritePortable("p", p); } else { writer.WriteNullPortable("p", TestSerializationConstants.PORTABLE_FACTORY_ID, TestSerializationConstants.INNER_PORTABLE); } }
public void WritePortable(IPortableWriter writer) { writer.WriteUTF("name", name); writer.WritePortable("limb", limb); }
/// <exception cref="System.IO.IOException"/> public virtual void WritePortable(IPortableWriter writer) { writer.WriteLong("timestamp", timestamp); writer.WritePortable("child", child); }
void IPortable.WritePortable(IPortableWriter writer) { writer.WritePortable("header", _header); writer.WriteIntArray("enabled", _enabled); writer.WriteIntArray("disabled", _disabled); }
void IPortable.WritePortable(IPortableWriter writer) { writer.WriteLong("id", _id); writer.WritePortable("handle", _handle); }
public void WritePortable(IPortableWriter writer) { writer.WritePortable("child", child); }
/// <exception cref="System.IO.IOException" /> public virtual void WritePortable(IPortableWriter writer) { writer.WriteLong("height", height); writer.WriteInt("age", age); writer.WriteUTF("name", name); writer.WritePortable("address", address); }