Click or drag to resize

XsBufferedFileStream.WriteByte Method

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

Namespace:  XSharp.IO
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 VIRTUAL METHOD WriteByte(
	b AS BYTE
) AS VOID
Request Example View Source

Parameters

b
Type: Byte
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe stream is closed.
NotSupportedExceptionThe stream does not support writing.
Remarks
This method overrides the normal behavior of the FileStream class and writed the data to an inmemory cache, when possible
See Also