Click or drag to resize

JCOBridgeStreamTWrite Method

Writes a block of bytes to the current stream using data from a buffer.

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public override void Write(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer  Byte
The byte array from which to copy bytes to the current stream.
offset  Int32
The offset in the buffer at which to begin copying bytes to the current stream.
count  Int32
The number of bytes to write to the current stream.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe stream is closed.
NotSupportedExceptionThe underlying memory does not support writing. - or -An attempt is made to write to the stream and the CanWrite property is false.- or -The count value is greater than the capacity of the stream.- or -The position is at the end of the stream capacity.
IOExceptionAn I/O error occurs.
ArgumentOutOfRangeExceptionOne of the specified parameters is less than zero.
ArgumentExceptionThe offset parameter minus the length of the buffer parameter is less than the count parameter.
ArgumentNullExceptionThe buffer parameter is null.
See Also