| MemoryStream: WriteByte |
Writes a single byte to the underlying stream.
Public Sub WriteByte( ByVal Value As Byte )
Except for a MemoryStream constructed with a Byte() parameter, write operations at the end of a MemoryStream expand the MemoryStream.
| Exception | Condition |
|---|---|
| NotSupportedException |
The stream does not support writing. For additional information see CanWriter. -or- The current position is at the end of the stream, and the capacity cannot be modified. |
| ObjectDisposedException | The current stream instance is closed. |