System.IO.BinaryWriter.Write Method

Writes a four-byte signed integer to the current stream and advances the stream position by four bytes.

Syntax

public virtual void Write (int value)

Parameters

value
The four-byte signed integer to write.

Remarks

BinaryWriter stores this data type in little endian format.

For a list of common I/O tasks, see Common I/O Tasks.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0