PERWAPI.ModuleRef.Read C# (CSharp) Method

Read() static private method

static private Read ( PEReader buff, TableRow mods, bool resolve ) : void
buff PEReader
mods TableRow
resolve bool
return void
        internal static void Read(PEReader buff, TableRow[] mods, bool resolve)
        {
            for (int i=0; i < mods.Length; i++) {
                string name = buff.GetString();
                ModuleRef mRef = new ModuleRef(name);
                if (resolve) mRef.modFile = buff.GetFileDesc(name);
                mods[i] = mRef;
            }
        }