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 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); }