BinaryWriterWrite Method (Single) |
Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.
Namespace: System.IOAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public virtual void Write(
float value
)
Parameters
- value
- Type: SystemSingle
The four-byte floating-point value to write.
Exceptions Exception | Condition |
---|
IOException | An I/O error occurs. |
ObjectDisposedException | The stream is closed. |
See Also