ToUInt32() public method

Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
public ToUInt32 ( byte value, int startIndex ) : uint
value byte An array of bytes.
startIndex int The starting position within value.
return uint
示例#1
0
 /// <summary>
 /// Reads an Unsigned int32.
 /// </summary>
 /// <returns></returns>
 public override uint ReadUInt32()
 {
     SynchBits();
     ReadInternal(buffer, 4);
     return(bitConverter.ToUInt32(buffer, 0));
 }