System.IO.BinaryWriter.Write Method

Writes a region of a byte array to the current stream.

Syntax

public virtual void Write (byte[] buffer, int index, int count)

Parameters

buffer
A byte array containing the data to write.
index
The starting point in buffer at which to begin writing.
count
The number of bytes to write.

Remarks

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