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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈