System.BitConverter.ToUInt32 C# (CSharp) Метод

ToUInt32() приватный метод

private ToUInt32 ( byte value, int startIndex ) : uint
value byte
startIndex int
Результат uint
        public static uint ToUInt32(byte[] value, int startIndex)
        {
            return (uint)ToInt32(value, startIndex);
        }
    

Usage Example

Пример #1
0
 private UInt32 RVAtoPosition(UInt32 r, int sections, byte[] headers)
 {
     for (int i = 0; i < sections; i++)
     {
         UInt32 p = BitConverterLE.ToUInt32(headers, i * 40 + 20);
         UInt32 s = BitConverterLE.ToUInt32(headers, i * 40 + 12);
         var    l = (int)BitConverterLE.ToUInt32(headers, i * 40 + 8);
         if ((s <= r) && (r < s + l))
         {
             return(p + r - s);
         }
     }
     return(0);
 }
All Usage Examples Of System.BitConverter::ToUInt32