read() public method

public read ( EndianBinaryReader r ) : void
r EndianBinaryReader
return void
Esempio n. 1
0
 public void read(BinaryReader r)
 {
     this.Count  = r.ReadInt32();
     this.Vocals = new Vocal[this.Count]; for (int i = 0; i < this.Count; i++)
     {
         Vocal obj = new Vocal(); obj.read(r); this.Vocals[i] = obj;
     }
 }
Esempio n. 2
0
 public void read(EndianBinaryReader r)
 {
     Count  = r.ReadInt32();
     Vocals = new Vocal[Count]; for (int i = 0; i < Count; i++)
     {
         var obj = new Vocal(); obj.read(r); Vocals[i] = obj;
     }
 }
 public void read(EndianBinaryReader r)
 {
     if (r.BaseStream.Length > 0)
     {
         Count = r.ReadInt32();
         Vocals = new Vocal[Count]; for (int i = 0; i < Count; i++) { var obj = new Vocal(); obj.read(r); Vocals[i] = obj; }
     }
 }
 public void read(BinaryReader r)
 {
     this.Count = r.ReadInt32();
     this.Vocals = new Vocal[this.Count]; for (int i=0; i<this.Count; i++) { Vocal obj = new Vocal(); obj.read(r); this.Vocals[i] = obj; }
 }