public override void ReadPortable(IPortableReader reader) { c = reader.ReadCharArray("c"); var input = reader.GetRawDataInput(); k = input.ReadInt(); l = reader.ReadLong("l"); s = input.ReadUTF(); p = reader.ReadPortable<NamedPortable>("p"); sds = input.ReadObject<ByteArrayDataSerializable>(); }
public virtual void ReadPortable(IPortableReader reader) { l = reader.ReadLong("l"); c = reader.ReadCharArray("c"); p = reader.ReadPortable <NamedPortable>("p"); var input = reader.GetRawDataInput(); k = input.ReadInt(); s = input.ReadUTF(); sds = input.ReadObject <ByteArrayDataSerializable>(); }
public override void ReadPortable(IPortableReader reader) { c = reader.ReadCharArray("c"); var input = reader.GetRawDataInput(); k = input.ReadInt(); l = reader.ReadLong("l"); s = input.ReadString(); p = reader.ReadPortable <NamedPortable>("p"); sds = input.ReadObject <ByteArrayDataSerializable>(); }
public void ReadPortable(IPortableReader reader) { bb = reader.ReadByteArray("b"); cc = reader.ReadCharArray("c"); ss = reader.ReadShortArray("s"); ii = reader.ReadIntArray("i"); ll = reader.ReadLongArray("l"); ff = reader.ReadFloatArray("f"); dd = reader.ReadDoubleArray("d"); nn = reader.ReadPortableArray <NamedPortable>("nn"); }
public void ReadPortable(IPortableReader reader) { bb = reader.ReadByteArray("b"); cc = reader.ReadCharArray("c"); ss = reader.ReadShortArray("s"); ii = reader.ReadIntArray("i"); ll = reader.ReadLongArray("l"); ff = reader.ReadFloatArray("f"); dd = reader.ReadDoubleArray("d"); var pp = reader.ReadPortableArray("nn"); nn = new NamedPortable[pp.Length]; Array.Copy(pp, 0, nn, 0, nn.Length); }
public void ReadPortable(IPortableReader reader) { Bool = reader.ReadBoolean("bool"); BoolArray = reader.ReadBooleanArray("boolArray"); Byte = reader.ReadByte("byte"); ByteArray = reader.ReadByteArray("byteArray"); Char = reader.ReadChar("char"); CharArray = reader.ReadCharArray("charArray"); Short = reader.ReadShort("short"); ShortArray = reader.ReadShortArray("shortArray"); Int = reader.ReadInt("int"); IntArray = reader.ReadIntArray("intArray"); Long = reader.ReadLong("long"); LongArray = reader.ReadLongArray("longArray"); Float = reader.ReadFloat("float"); FloatArray = reader.ReadFloatArray("floatArray"); Double = reader.ReadDouble("double"); DoubleArray = reader.ReadDoubleArray("doubleArray"); String = reader.ReadUTF("string"); StringArray = reader.ReadUTFArray("stringArray"); }
public virtual void TestReadCharArray() { Assert.IsNull(reader.ReadCharArray("NO SUCH FIELD")); }