Beispiel #1
0
 public void Read(CBinaryReader br, uint BaseAddress)
 {
     br.Seek(Header.SectionNameAddress - BaseAddress, SeekOrigin.Begin);
     while (br.PeekChar() != 0)
     {
         Name = Name + br.ReadChar();
     }
     br.Seek(Header.RawAddress, SeekOrigin.Begin);
     Data = br.ReadBytes((int)Header.RawSize);
 }
Beispiel #2
0
 public void Read(CBinaryReader br, uint BaseAddress)
 {
     br.Seek((long)(this.Header.SectionNameAddress - BaseAddress), SeekOrigin.Begin);
     while (br.PeekChar() != 0)
     {
         this.Name = this.Name + br.ReadChar();
     }
     br.Seek((long)this.Header.RawAddress, SeekOrigin.Begin);
     this.Data = br.ReadBytes((int)this.Header.RawSize);
 }