RocksmithToolkitLib.Sng2014HSL.Chord.read C# (CSharp) Method

read() public method

public read ( EndianBinaryReader r ) : void
r EndianBinaryReader
return void
        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);
        }

Usage Example

Example #1
0
 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;
     }
 }
All Usage Examples Of RocksmithToolkitLib.Sng2014HSL.Chord::read
Chord