Uredi

Deli z drugimi prek


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 ();
[<System.CLSCompliant(false)>]
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.

Attributes

Exceptions

The end of the stream is reached.

An I/O error occurred.

The stream is closed.

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