MemoryMappedViewStream: WriteByte

WriteByte

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



 Public Sub WriteByte(
	  ByVal Value As Byte )

Parameters

Value
[ByVal] Byte. A byte value written to the stream.

Exceptions

Exception Condition
ObjectDisposedExceptionThe stream is closed.
NotSupportedException The underlying memory does not support writing.
- or -
An attempt is made to write to the stream and the CanWrite property is False.
- or -
The current position is at the end of the capacity of the stream.
IOExceptionThe supplied Value causes the stream exceed its maximum capacity.

See Also

Project CorLib Overview

Class MemoryMappedViewStream Overview