public void read(EndianBinaryReader r) { Mask = r.ReadUInt32(); Frets = r.ReadBytes(6); Fingers = r.ReadBytes(6); Notes = new Int32[6]; for (int i = 0; i < 6; i++) Notes[i] = r.ReadInt32(); Name = r.ReadBytes(32); }
public void read(BinaryReader r) { this.Count = r.ReadInt32(); this.Chords = new Chord[this.Count]; for (int i = 0; i < this.Count; i++) { Chord obj = new Chord(); obj.read(r); this.Chords[i] = obj; } }