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; } }
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; } }