Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Writes a block of bytes to the current stream using data read from buffer.

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

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