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.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
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