System.IO.BinaryWriter.Write Method

Writes an unsigned byte to the current stream and advances the stream position by one byte.

Syntax

public virtual void Write (byte value)

Parameters

value
The unsigned byte to write.

Remarks

Because of data formatting conflicts, using this method with the following encodings is not recommended:

  • UTF-7

  • ISO-2022-JP

  • ISCII

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