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 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);
        }
示例#3
0
 public void WritePortable(IPortableWriter writer)
 {
     writer.WriteByteArray("b", bb);
     writer.WriteCharArray("c", cc);
     writer.WriteShortArray("s", ss);
     writer.WriteIntArray("i", ii);
     writer.WriteLongArray("l", ll);
     writer.WriteFloatArray("f", ff);
     writer.WriteDoubleArray("d", dd);
     writer.WritePortableArray("nn", nn);
 }
        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);
        }
示例#5
0
 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.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.WriteByteArray("b", bb);
     writer.WriteCharArray("c", cc);
     writer.WriteShortArray("s", ss);
     writer.WriteIntArray("i", ii);
     writer.WriteLongArray("l", ll);
     writer.WriteFloatArray("f", ff);
     writer.WriteDoubleArray("d", dd);
     writer.WritePortableArray("nn", nn);
 }