public void read(EndianBinaryReader r) { Time = r.ReadSingle(); EventName = r.ReadBytes(256); }
public void read(BinaryReader r) { this.Count = r.ReadInt32(); this.Events = new Event[this.Count]; for (int i = 0; i < this.Count; i++) { Event obj = new Event(); obj.read(r); this.Events[i] = obj; } }