示例#1
0
 private void ReadObjectDummy(Java.IO.ObjectInputStream source)
 {
     count    = source.ReadInt();
     isDirect = source.ReadBoolean();
     encoding = source.ReadUTF();
     replace  = source.ReadUTF();
 }
 static string ReadNullableString(Java.IO.ObjectInputStream source)
 {
     if (source.ReadBoolean())
     {
         return(source.ReadUTF());
     }
     return(null);
 }
示例#3
0
 private void ReadObjectDummy(Java.IO.ObjectInputStream source)
 {
 }
 static int ReadInt(Java.IO.ObjectInputStream source)
 {
     return(source.ReadInt());
 }
 private void ReadObject(Java.IO.ObjectInputStream source)
 {
     Position = (JobPosition)ReadInt(source);
     Name     = ReadNullableString(source);
     Email    = ReadNullableString(source);
 }