public void WritePortable(IPortableWriter writer) { writer.WriteLong("Id", Id); writer.WriteUTF("Text0", Text0); writer.WriteUTF("Text1", Text1); writer.WriteUTF("Text2", Text2); writer.WriteUTF("Text3", Text3); writer.WriteUTF("Text4", Text4); writer.WriteUTF("Text5", Text5); writer.WriteUTF("Text6", Text6); writer.WriteUTF("Text7", Text7); writer.WriteUTF("Text8", Text8); writer.WriteUTF("Text9", Text9); writer.WriteBoolean("Boolean0", Boolean0); writer.WriteBoolean("Boolean1", Boolean1); writer.WriteBoolean("Boolean2", Boolean2); writer.WriteBoolean("Boolean3", Boolean3); writer.WriteBoolean("Boolean4", Boolean4); writer.WriteLong("TimeStamp0", TimeStamp0); writer.WriteLong("TimeStamp1", TimeStamp1); writer.WriteLong("TimeStamp2", TimeStamp2); writer.WriteLong("TimeStamp3", TimeStamp3); writer.WriteLong("TimeStamp4", TimeStamp4); writer.WriteUTFArray("TextArray", TextArray); writer.WriteByteArray("ByteArray", DataArray); }
public void WritePortable(IPortableWriter writer) { writer.WriteLong("Id", Id); writer.WriteUTF("Text0", Text0); writer.WriteUTF("Text1", Text1); writer.WriteUTF("Text2", Text2); writer.WriteUTF("Text3", Text3); writer.WriteUTF("Text4", Text4); }
/// <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); }
public void WritePortable(IPortableWriter writer) { try { writer.WriteByteArray("id", Id.ToByteArray()); writer.WriteUTF("name", Name); writer.WriteUTF("email", Email); writer.WriteUTF("phone", Phone); writer.WriteUTF("address", Address); writer.WriteByteArray("pet_id", PetID.ToByteArray()); } catch (Exception e) { Console.WriteLine("Hazelcast: write failed."); Console.WriteLine(e.Message); } }
public void WritePortable(IPortableWriter writer) { bool hasData = (Data != null); if (hasData) { writer.WriteUTF("data", Data); } writer.WriteBoolean("_has__data", hasData); }
/// <exception cref="System.IO.IOException"/> public virtual void WritePortable(IPortableWriter writer) { writer.WriteByte("byte", aByte); writer.WriteBoolean("boolean", aBoolean); writer.WriteChar("char", character); writer.WriteShort("short", aShort); writer.WriteInt("int", integer); writer.WriteLong("long", aLong); writer.WriteFloat("float", aFloat); writer.WriteDouble("double", aDouble); writer.WriteUTF("string", aString); }
public void WritePortable(IPortableWriter writer) { writer.WriteBoolean("bool", Bool); writer.WriteBooleanArray("boolArray", BoolArray); writer.WriteByte("byte", Byte); writer.WriteByteArray("byteArray", ByteArray); writer.WriteChar("char", Char); writer.WriteCharArray("charArray", CharArray); writer.WriteShort("short", Short); writer.WriteShortArray("shortArray", ShortArray); writer.WriteInt("int", Int); writer.WriteIntArray("intArray", IntArray); writer.WriteLong("long", Long); writer.WriteLongArray("longArray", LongArray); writer.WriteFloat("float", Float); writer.WriteFloatArray("floatArray", FloatArray); writer.WriteDouble("double", Double); writer.WriteDoubleArray("doubleArray", DoubleArray); writer.WriteUTF("string", String); writer.WriteUTFArray("stringArray", StringArray); }
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 virtual void WritePortable(IPortableWriter writer) { writer.WriteUTF("name", name); writer.WriteInt("myint", k); }
public void WritePortable(IPortableWriter writer) { writer.WriteUTF("username", _username); writer.WriteInt("age", _age); writer.WriteBoolean("active", _active); }
/// <exception cref="System.IO.IOException" /> public virtual void WritePortable(IPortableWriter writer) { writer.WriteInt("no", no); writer.WriteUTF("street", street); }
public void WritePortable(IPortableWriter writer) { writer.WriteInt("id", Id); writer.WriteUTF("name", Name); writer.WriteLong("lastOrder", LastOrder.ToFileTimeUtc()); }
public void WritePortable(IPortableWriter writer) { writer.WriteUTF("n", name); writer.WriteUTF("s", surname); }
public void WritePortable(IPortableWriter writer) { writer.WriteUTF("name", name); }
public void WritePortable(IPortableWriter writer) { writer.WriteUTF("shortString", shortString); }
public void WritePortable(IPortableWriter writer) { writer.WriteUTF("f0", model_body); writer.WriteUTF("f1", model_engine_position); writer.WriteInt("f2", model_engine_cc); writer.WriteInt("f3", model_engine_cyl); writer.WriteUTF("f4", model_engine_type); writer.WriteInt("f5", model_engine_valves_per_cyl); writer.WriteInt("f6", model_engine_power_ps); writer.WriteInt("f7", model_engine_power_rpm); writer.WriteInt("f8", model_engine_torque_nm); writer.WriteInt("f9", model_engine_torque_rpm); writer.WriteInt("f10", model_engine_bore_mm); writer.WriteInt("f11", model_engine_stroke_mm); writer.WriteUTF("f12", model_engine_compression); writer.WriteUTF("f13", model_engine_fuel); writer.WriteInt("f14", model_top_speed_kph); writer.WriteFloat("f15", model_0_to_100_kph); writer.WriteUTF("f16", model_drive); writer.WriteUTF("f17", model_transmission_type); writer.WriteInt("f18", model_seats); writer.WriteInt("f19", model_doors); writer.WriteInt("f20", model_weight_kg); writer.WriteInt("f21", model_length_mm); writer.WriteInt("f22", model_height_mm); writer.WriteInt("f23", model_width_mm); writer.WriteInt("f24", model_wheelbase_mm); writer.WriteFloat("f25", model_lkm_hwy); writer.WriteFloat("f26", model_lkm_mixed); writer.WriteFloat("f27", model_lkm_city); writer.WriteInt("f28", model_fuel_cap_l); writer.WriteBoolean("f29", model_sold_in_us); writer.WriteFloat("f30", model_co2); writer.WriteUTF("f31", model_make_display); writer.WriteUTF("f32", make_display); writer.WriteUTF("f33", make_country); }