Writes a sequence of items to the current stream and advances the current position within this stream by the number of items written. Use the stride parameter to control advancing of the position after one item has been written.

Namespace: VVVV.Utils.Streams
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
int Write(
	T[] buffer,
	int index,
	int length,
	int stride
)

Parameters

buffer
Type: array<T>[]()[][]
The buffer to copy from.
index
Type: System..::..Int32
The zero-based offset in buffer at which to begin copying bytes to the current stream.
length
Type: System..::..Int32
The number of items to be written to the current stream.
stride
Type: System..::..Int32
The stride by which the position is advanced after writing one item.

Return Value

The total number of items written to the stream. This can be less than the number of items requested if end of the stream has been reached.

See Also