BinaryReaderReadSingle Method |
Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.
Namespace: System.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual float ReadSingle()
Return Value
Type:
SingleA 4-byte floating point value read from the current stream.
Exceptions Exception | Condition |
---|
EndOfStreamException | The end of the stream is reached. |
ObjectDisposedException | The stream is closed. |
IOException | An I/O error occurs. |
See Also