BufferedStream::WriteByte Method (Byte)

 

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

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual void WriteByte(
	unsigned char value
) override

Parameters

value
Type: System::Byte

A byte to write to the stream.

Exception Condition
NotSupportedException

The stream does not support writing.

ArgumentNullException

value is null.

ObjectDisposedException

Methods were called after the stream was closed.

.NET Framework
Available since 1.1
Return to top
Show: