BinaryReader.ReadUInt64 BinaryReader.ReadUInt64 BinaryReader.ReadUInt64 BinaryReader.ReadUInt64 Method

Definition

Important

This API is not CLS-compliant.

Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.

public:
 virtual System::UInt64 ReadUInt64();
[System.CLSCompliant(false)]
public virtual ulong ReadUInt64 ();
abstract member ReadUInt64 : unit -> uint64
override this.ReadUInt64 : unit -> uint64
Public Overridable Function ReadUInt64 () As ULong

Returns

An 8-byte unsigned integer read from this stream.

Exceptions

Remarks

BinaryReader does not restore the file position after an unsuccessful read.

BinaryReader reads this data type in little-endian format.

For a list of common I/O tasks, see Common I/O Tasks.

Applies to

See also