| 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.GenericAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.2.0.Release.47655112efc68a70bb943ee3bd5c1e27763923ef
Syntaxpublic int ReadBlock(
	T[] buffer,
	int offset,
	int count
)
Public Function ReadBlock ( 
	buffer As T(),
	offset As Integer,
	count As Integer
) As Integer
public:
int ReadBlock(
	array<T>^ buffer, 
	int offset, 
	int count
)
member ReadBlock : 
        buffer : 'T[] * 
        offset : int * 
        count : int -> int 
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: 
Int32The 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