Example #1
0
 internal DllDebugData(SafeHGlobalBuffer buffer) : this()
 {
     Magic = buffer.Read <uint>(0);
     if (Magic == CV_RSDS_MAGIC)
     {
         Id            = new Guid(buffer.ReadBytes(4, 16));
         Age           = buffer.Read <int>(20);
         PdbPath       = buffer.ReadNulTerminatedAnsiString(24, Encoding.UTF8);
         IdentiferPath = $"{Id:N}{Age:X}".ToUpper();
     }
 }