Edit

Share via


BufferedStream.WriteByte(Byte) Method

Definition

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.

value is null.

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