BinaryReader.ReadInt64 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.
public:
virtual long ReadInt64();
public virtual long ReadInt64 ();
abstract member ReadInt64 : unit -> int64
override this.ReadInt64 : unit -> int64
Public Overridable Function ReadInt64 () As Long
Returns
An 8-byte signed integer read from the current stream.
Exceptions
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om