public void read(BinaryReader r) { this.Count = r.ReadInt32(); this.Tones = new Tone[this.Count]; for (int i = 0; i < this.Count; i++) { Tone obj = new Tone(); obj.read(r); this.Tones[i] = obj; } }
public void read(EndianBinaryReader r) { Count = r.ReadInt32(); Tones = new Tone[Count]; for (int i = 0; i < Count; i++) { var obj = new Tone(); obj.read(r); Tones[i] = obj; } }
public void read(BinaryReader r) { this.Count = r.ReadInt32(); this.Tones = new Tone[this.Count]; for (int i=0; i<this.Count; i++) { Tone obj = new Tone(); obj.read(r); this.Tones[i] = obj; } }