Exemplo n.º 1
0
 /// <exception cref="System.IO.IOException"/>
 public static TestVersionedWritable.SimpleVersionedWritable Read(BinaryReader reader)
 {
     TestVersionedWritable.SimpleVersionedWritable result = new TestVersionedWritable.SimpleVersionedWritable
                                                                ();
     result.ReadFields(@in);
     return(result);
 }
Exemplo n.º 2
0
 /// <exception cref="System.IO.IOException"/>
 public override void ReadFields(BinaryReader reader)
 {
     base.ReadFields(@in);
     shortTestString        = @in.ReadUTF();
     longTestString         = WritableUtils.ReadString(@in);
     compressableTestString = WritableUtils.ReadCompressedString(@in);
     containedObject.ReadFields(@in);
     // Warning if this is a recursive call, you need a null value.
     testStringArray = WritableUtils.ReadStringArray(@in);
 }