Click or drag to resize

ByteBufferStreamWriteByte Method

Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public override void WriteByte(
	byte value
)

Parameters

value
Type: SystemByte
The byte to write to the stream.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
NotSupportedExceptionThe stream does not support writing, or the stream is already closed.
ObjectDisposedExceptionMethods were called after the stream was closed.
See Also