Click or drag to resize
SbNativeArrayTReadBlock Method
Copies element from the current stream to an array and advances the position within the stream by the number of elements read.

Namespace: OIV.Inventor.Generic
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public int ReadBlock(
	T[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: T
The buffer to which element are copied.
offset
Type: SystemInt32
The element offset in the buffer at which to begin writing elements.
count
Type: SystemInt32
The number of elements to be read.

Return Value

Type: Int32
The total number of elements read into array. This can be less than the number of elements requested if that many elements aren't currently available, or 0 if the end of the stream has been reached before any data can be read.
See Also