read() public méthode

public read ( EndianBinaryReader r ) : void
r EndianBinaryReader
Résultat void
Exemple #1
0
 public void read(BinaryReader r)
 {
     this.Count      = r.ReadInt32();
     this.ChordNotes = new ChordNotes[this.Count]; for (int i = 0; i < this.Count; i++)
     {
         ChordNotes obj = new ChordNotes(); obj.read(r); this.ChordNotes[i] = obj;
     }
 }
Exemple #2
0
 public void read(EndianBinaryReader r)
 {
     Count      = r.ReadInt32();
     ChordNotes = new ChordNotes[Count]; for (int i = 0; i < Count; i++)
     {
         var obj = new ChordNotes(); obj.read(r); ChordNotes[i] = obj;
     }
 }
 public void read(EndianBinaryReader r)
 {
     if (r.BaseStream.Length > 0)
     {
         Count = r.ReadInt32();
         ChordNotes = new ChordNotes[Count]; for (int i = 0; i < Count; i++) { var obj = new ChordNotes(); obj.read(r); ChordNotes[i] = obj; }
     }
 }
 public void read(BinaryReader r)
 {
     this.Count = r.ReadInt32();
     this.ChordNotes = new ChordNotes[this.Count]; for (int i=0; i<this.Count; i++) { ChordNotes obj = new ChordNotes(); obj.read(r); this.ChordNotes[i] = obj; }
 }