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