PERWAPI.PEReader.ReadZeros C# (CSharp) Метод

ReadZeros() приватный Метод

private ReadZeros ( int num ) : void
num int
Результат void
        internal void ReadZeros(int num)
        {
            for (int i=0; i < num; i++) {
                byte next = ReadByte();
                if (next != 0) InputError();
            }
        }

Usage Example

Пример #1
0
 internal void Read(PEReader buff)
 {
     buff.ReadZeros(2);
     name = buff.GetString();
     mvid = buff.GetGUID();
     uint junk = buff.GetGUIDIx();
     junk = buff.GetGUIDIx();
     if (Diag.DiagOn) Console.WriteLine("Reading module with name " + name + " and Mvid = " + mvid);
     ismscorlib = name.ToLower() == "mscorlib.dll";
 }
All Usage Examples Of PERWAPI.PEReader::ReadZeros