Click or drag to resize
BinaryReaderReadInt64 Method
Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual long ReadInt64()

Return Value

Type: Int64
An 8-byte signed integer read from the current stream.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the stream is reached.
ObjectDisposedExceptionThe stream is closed.
IOExceptionAn I/O error occurs.
See Also