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

ReadPropertySig() private méthode

private ReadPropertySig ( uint sigIx, Property prop ) : void
sigIx uint
prop Property
Résultat void
        internal void ReadPropertySig(uint sigIx, Property prop)
        {
            blob.GoToIndex(sigIx);
            uint blobSize = blob.ReadCompressedNum();
            if ((blob.ReadByte() & Property.PropertyTag) != Property.PropertyTag) InputError();
            uint count = blob.ReadCompressedNum();
            Type[] pars = new Type[count];
            prop.SetPropertyType(GetBlobType()); //prop.GetParent(),null));
            for (int i=0; i < count; i++)
                pars[i] = GetBlobType(); //prop.GetParent(),null);
            prop.SetPropertyParams(pars);
        }

Usage Example

Exemple #1
0
 internal override sealed void Resolve(PEReader buff)
 {
     buff.ReadPropertySig(typeBlobIx,this);
 }