Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

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

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public override void Write(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: array< System..::.Byte >[]()[]
The buffer to write data from.
offset
Type: System..::.Int32
The byte offset in buffer at which to begin writing from.
count
Type: System..::.Int32
The maximum number of bytes to write.

Exceptions

ExceptionCondition
System..::.ArgumentNullException Buffer is null.
System..::.NotSupportedException The stream does not support writing or the current position is closer than count bytes to the end of the stream, and the capacity cannot be modified.
System..::.ArgumentException Offset subtracted from the buffer length is less than count.
System..::.ArgumentOutOfRangeException Offset or count are negative.
System.IO..::.IOException An I/O error occurs.
System..::.ObjectDisposedException The current stream instance is closed.

See Also