ToUInt64() public method

Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.
public ToUInt64 ( byte value, int startIndex ) : ulong
value byte An array of bytes.
startIndex int The starting position within value.
return ulong
示例#1
0
 /// <summary>
 /// Reads an Unsigned int64.
 /// </summary>
 /// <returns></returns>
 public override ulong ReadUInt64()
 {
     SynchBits();
     ReadInternal(buffer, 8);
     return(bitConverter.ToUInt64(buffer, 0));
 }