Click or drag to resize

BinaryMemoryStreamWrite Method

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

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public override void Write(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: SystemByte
The buffer to write data from.
offset
Type: SystemInt32
The byte offset in buffer at which to begin writing from.
count
Type: SystemInt32
The maximum number of bytes to write.
Exceptions
ExceptionCondition
ArgumentNullException Buffer is null.
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.
ArgumentException Offset subtracted from the buffer length is less than count.
ArgumentOutOfRangeException Offset or count are negative.
IOException An I/O error occurs.
ObjectDisposedException The current stream instance is closed.
See Also