BufferedStream.WriteByte(Byte) Method (System.IO) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Writes a byte to the current position in the buffered stream.

public:
 override void WriteByte(System::Byte value);
public override void WriteByte(byte value);
override this.WriteByte : byte -> unit
Public Overrides Sub WriteByte (value As Byte)

Parameters

value

Byte

A byte to write to the stream.

Exceptions

The stream does not support writing.

Methods were called after the stream was closed.

Remarks

Use the CanWrite property to determine whether the current instance supports writing.

Applies to

See also