PERWAPI.PEReader.FirstBlobByte C# (CSharp) Méthode

FirstBlobByte() private méthode

private FirstBlobByte ( uint ix ) : byte
ix uint
Résultat byte
        internal byte FirstBlobByte(uint ix)
        {
            blob.GoToIndex(ix);
            uint blobSize = blob.ReadCompressedNum();
            return blob.ReadByte();
        }

Usage Example

Exemple #1
0
 internal static void Read(PEReader buff, TableRow[] sigs)
 {
     for (int i=0; i < sigs.Length; i++) {
         uint sigIx = buff.GetBlobIx();
         uint tag = buff.FirstBlobByte(sigIx);
         if (tag == LocalSig.LocalSigByte)
             sigs[i] = new LocalSig(sigIx);
         else if (tag == Field.FieldTag)
             sigs[i] = new Signature(sigIx);
         else
             sigs[i] = new CalliSig(sigIx);
         sigs[i].Row = (uint)i+1;
     }
 }
All Usage Examples Of PERWAPI.PEReader::FirstBlobByte