BlockAllocatedMemoryStreamWrite(Byte, Int32, Int32) Method

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

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public override void Write(
	byte[] buffer,
	int startIndex,
	int length
)

Parameters

buffer  Byte
The buffer to write data from.
startIndex  Int32
The byte offset in buffer at which to begin writing from.
length  Int32
The maximum number of bytes to write.

Exceptions

ArgumentNullExceptionbuffer is null.
ArgumentOutOfRangeExceptionstartIndex or length is less than 0 -or- startIndex and length will exceed buffer length.
ObjectDisposedExceptionThe stream is closed.

See Also