public void read(BinaryReader r) { this.Count = r.ReadInt32(); this.Phrases = new Phrase[this.Count]; for (int i = 0; i < this.Count; i++) { Phrase obj = new Phrase(); obj.read(r); this.Phrases[i] = obj; } }
public void read(EndianBinaryReader r) { Count = r.ReadInt32(); Phrases = new Phrase[Count]; for (int i = 0; i < Count; i++) { var obj = new Phrase(); obj.read(r); Phrases[i] = obj; } }
public void read(EndianBinaryReader r) { if (r.BaseStream.Length > 0) { Count = r.ReadInt32(); Phrases = new Phrase[Count]; for (int i = 0; i < Count; i++) { var obj = new Phrase(); obj.read(r); Phrases[i] = obj; } } }
public void read(BinaryReader r) { this.Count = r.ReadInt32(); this.Phrases = new Phrase[this.Count]; for (int i=0; i<this.Count; i++) { Phrase obj = new Phrase(); obj.read(r); this.Phrases[i] = obj; } }