PERWAPI.Assembly.Read C# (CSharp) Method

Read() static private method

static private Read ( PEReader buff, TableRow table, PEFile pefile ) : void
buff PEReader
table TableRow
pefile PEFile
return void
        internal static void Read(PEReader buff, TableRow[] table, PEFile pefile)
        {
            for (int i=0; i < table.Length; i++) {
                HashAlgorithmType hAlg = (HashAlgorithmType)buff.ReadUInt32();
                ushort majVer = buff.ReadUInt16();
                ushort minVer = buff.ReadUInt16();
                ushort bldNo = buff.ReadUInt16();
                ushort revNo = buff.ReadUInt16();
                uint flags = buff.ReadUInt32();
                byte[] pKey =  buff.GetBlob();
                string name = buff.GetString();
                string cult = buff.GetString();
                table[i] = new Assembly(name,hAlg,majVer,minVer,bldNo,revNo,flags,pKey,cult,pefile);
            }
        }