Writes a byte to the current position in the buffered stream.
[Visual Basic] Overrides Public Sub WriteByte( _ ByVal value As Byte _ ) [C#] public override void WriteByte( byte value ); [C++] public: override void WriteByte( unsigned char value ); [JScript] public override function WriteByte( value : Byte );
Exception Type | Condition |
---|---|
IOException | The stream is closed. |
NotSupportedException | The stream does not support writing. |
Writes a byte to a buffered stream efficiently. If the stream is closed or not writable, an exception will be thrown.
BufferedStream Class | BufferedStream Members | System.IO Namespace