Click or drag to resize
BinaryWriterWrite Method (Int32)
Writes a four-byte signed integer to the current stream and advances the stream position by four bytes.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual void Write(
	int value
)

Parameters

value
Type: SystemInt32
The four-byte signed integer to write.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
ObjectDisposedExceptionThe stream is closed.
See Also