FirstBlobByte() 개인적인 메소드

private FirstBlobByte ( uint ix ) : byte
ix uint
리턴 byte
예제 #1
0
파일: PERWAPI.cs 프로젝트: nomit007/f4
 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;
     }
 }
예제 #2
0
파일: PERWAPI.cs 프로젝트: nomit007/f4
 internal static void ReadMember(PEReader buff, TableRow[] members)
 {
     for (int i=0; i < members.Length; i++) {
         uint parenIx = buff.GetCodedIndex(CIx.MemberRefParent);
         string memName = buff.GetString();
         uint sigIx = buff.GetBlobIx();
         if (buff.FirstBlobByte(sigIx) == Field.FieldTag) // got a field
             members[i] = new FieldRef(parenIx,memName,sigIx);
         else
             members[i] = new MethodRef(parenIx,memName,sigIx);
     }
 }